Asp.net kpm restore ubuntu:未实现请求的功能
我尝试在我的Ubuntu 14.04上运行asp.net Home示例 但在每次kpm恢复中,我都会得到以下信息:Asp.net kpm restore ubuntu:未实现请求的功能,asp.net,mono,asp.net-core,Asp.net,Mono,Asp.net Core,我尝试在我的Ubuntu 14.04上运行asp.net Home示例 但在每次kpm恢复中,我都会得到以下信息: wuetrs@wuetrs-N750JK:~/repos/Home/samples/HelloMvc$ kvm list Active Version Runtime Location Alias ------ ------- ------- -------- ----- *
wuetrs@wuetrs-N750JK:~/repos/Home/samples/HelloMvc$ kvm list
Active Version Runtime Location Alias
------ ------- ------- -------- -----
* 1.0.0-beta2 Mono ~/.kre/packages default
wuetrs@wuetrs-N750JK:~/repos/Home/samples/HelloMvc$ kpm restore
Restoring packages for /home/wuetrs/repos/Home/samples/HelloMvc/project.json
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='Kestrel'
CACHE https://www.nuget.org/api/v2/package/Kestrel/1.0.0-beta2
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Diagnostics'
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.Diagnostics/1.0.0-beta2.
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Hosting'
CACHE https://www.nuget.org/api/v2/package/Microsoft.AspNet.Hosting/1.0.0-beta2
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Mvc'
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.Mvc/6.0.0-beta2.
CACHE https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Server.WebListener'
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.Server.WebListener/1.0.0-beta2.
----------
System.NotImplementedException: The requested feature is not implemented.
at Microsoft.Framework.PackageManager.PackageUtilities+<OpenNuspecStreamFromNupkgAsync>d__1.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[System.IO.Stream].GetResult () [0x00000] in <filename unknown>:0
at Microsoft.Framework.PackageManager.Restore.NuGet.PackageFeed+<OpenNuspecStreamAsync>d__1.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[System.IO.Stream].GetResult () [0x00000] in <filename unknown>:0
at Microsoft.Framework.PackageManager.RemoteWalkProvider+<GetDependencies>d__1.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[System.Collections.Generic.IEnumerable`1[Microsoft.Framework.Runtime.LibraryDependency]].GetResult () [0x00000] in <filename unknown>:0
at Microsoft.Framework.PackageManager.RestoreOperations+<FindLibraryEntry>d__1.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[Microsoft.Framework.PackageManager.GraphItem].GetResult () [0x00000] in <filename unknown>:0
at Microsoft.Framework.PackageManager.RestoreOperations+<CreateGraphNode>d__1.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[Microsoft.Framework.PackageManager.GraphNode].GetResult () [0x00000] in <filename unknown>:0
at Microsoft.Framework.PackageManager.RestoreOperations+<CreateGraphNode>d__1.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[Microsoft.Framework.PackageManager.GraphNode[]].GetResult () [0x00000] in <filename unknown>:0
at Microsoft.Framework.PackageManager.RestoreCommand+<RestoreForProject>d__1.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[System.Boolean].GetResult () [0x00000] in <filename unknown>:0
at Microsoft.Framework.PackageManager.RestoreCommand+<ExecuteCommand>d__1.MoveNext () [0x00000] in <filename unknown>:0
----------
Restore failed
The requested feature is not implemented.
有什么想法吗?解决方案表明b@SuhasJoshi是正确的:
sudo apt-get remove mono-complete (or whatever package was installed)
那就说:
您有什么版本的mono?找到该版本的最佳方法是什么?wuetrs@wuetrs-N750JK:~$mono——版本mono JIT编译器版本3.2.8(Debian 3.2.8+dfsg-4ubuntu1)版权所有(C)2002-2014 Novell,Inc.和Xamarin Inc.及其贡献者。www.mono-project.com TLS:u thread SIGSEGV:altstack通知:epoll体系结构:amd64已禁用:无其他:softdebug LLVM:受支持,未启用。GC:SGENTH推荐的mono版本大于3.6.1,所以我认为你应该更新你的mono。我认为您是使用apt get安装mono的,apt get安装的是旧版本。试着从sourcesok编译并安装mono,明白了。我明天试试,然后告诉你。tk You面向未来用户:我对dnvm(kpm的最新版本)也有同样的问题,这个答案也解决了这个问题。为了它的价值,我这样做了,完全破坏了我的mono设置。您的可挤奶量可能会有所不同。
sudo apt-get remove mono-complete (or whatever package was installed)