Cha*_*van 15 visual-studio-2015 coreclr dnx dnvm asp.net-core
我在包管理器控制台中运行此命令以升级dnx.
"dnvm upgrade -u default"
Run Code Online (Sandbox Code Playgroud)
一旦它得到更新,我可以看到(C:\ Users\Chandrasekar.dnx\runtimes)新的运行时版本,如下所述
"dnx-clr-win-x86.1.0.0-beta8-15530"
Run Code Online (Sandbox Code Playgroud)
我开始在VS2015中创建新项目 - > ASPNET 5 Web应用程序,它最终出现了一些错误.
在输出窗口中,您可以看到错误"无法加载'Microsoft.DNX.PackageManager' ",根据此公告,它已被重命名为"Microsoft.Dnx.Tooling",所以我的问题是为什么新的DNX beta 8版本仍然依赖在这个删除或重命名的DLL'Microsoft.DNX.PackageManager '?
输出窗口错误:
PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\git
C:\Users\Chandrasekar\.dnx\runtimes\dnx-clr-win-x86.1.0.0-beta8-15530\bin\dnx.exe "C:\Users\Chandrasekar\.dnx\runtimes\dnx-clr-win-x86.1.0.0-beta8-15530\bin\lib\Microsoft.DNX.PackageManager\Microsoft.DNX.PackageManager.dll" restore "C:\Users\Chandrasekar\Documents\Visual Studio 2015\Projects\DNX8\src\DNX8" -f "C:\Program Files (x86)\Microsoft Web Tools\DNU"
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.DNX.PackageManager' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.DNX.PackageManager'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
at Microsoft.Dnx.Runtime.Loader.LoadContext.Load(AssemblyName assemblyName)
at Microsoft.Dnx.Host.Bootstrapper.RunAsync(List`1 args, IRuntimeEnvironment env, FrameworkName targetFramework)
at Microsoft.Dnx.Host.RuntimeBootstrapper.ExecuteAsync(String[] args, FrameworkName targetFramework)
at Microsoft.Dnx.Host.RuntimeBootstrapper.Execute(String[] args, FrameworkName targetFramework)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Run Code Online (Sandbox Code Playgroud)
你能帮我解决一下这个问题吗?我需要更新任何dll或软件吗?
工具:Microsoft Visual Studio Enterprise 2015版本14.0.23107.0
Vic*_*aci 12
您没有使用最新的工具版本.您的版本可能是14.0.20711.0,而最新版本是14.0.20723.0.
20711有一个错误,因为它试图加载Microsoft.DNX.PackageManager,实际上是Microsoft.Dnx.Tooling.
获取最新版本:http://www.microsoft.com/en-us/download/details.aspx?id = 48222
看到这个公告.
让我脱颖而出 - 我倾向于忘记.这是Beta 8:
Microsoft ASP.NET和Web Tools 2015(Beta8) - Visual Studio 2015
并搜索所有这些 - 如果名称没有改变,RC1将很快出现;)
对于搜索结果的Microsoft ASP.NET和Web工具 Microsoft.com上
归档时间: |
|
查看次数: |
6325 次 |
最近记录: |