我想从ASP.NET 5 beta8更新到RC1。DNX beta8不断重新安装时,打开解决方案
我不得不beta8没有任何引用在我的项目,但打开我的解决方案的时候,我看到在Visual Studio中DNVM控制台下面发生的事情:
安装到C:\用户\ me.dnx \ runtimes \ dnx-clr-win-x86.1.0.0-beta8 将C:\ Users \ me.dnx \ runtimes \ dnx-clr-win-x86.1.0.0-beta8 \ bin添加到 进程PATH安装到 C:\ Users \ me.dnx \ runtimes \ dnx-coreclr-win-x86.1.0.0-beta8正在添加 C:\ Users \ me.dnx \ runtimes \ dnx-coreclr-win-x86.1.0.0- beta8 \ bin到 进程PATH编译 的本机映像dnx-coreclr-win-x86.1。 0.0-beta8改善启动性能...
我关闭Visual Studio,卸载所有beta8运行时版本,删除包文件夹,但这仍然发生。
global.json:
{
"projects": [ "src", "test", "." ],
"sdk": {
"version": "1.0.0-rc1-update1",
"runtime": "clr",
"architecture": "x86"
}
}
project.json:
{
"title": "MyProject.Api",
"webroot": "wwwroot",
"version": "1.0.0-*",
"dependencies": {
"Microsoft.ApplicationInsights.AspNet": "1.0.0-rc1",
"Microsoft.AspNet.Mvc": "6.0.0-rc1-final",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final",
"Microsoft.AspNet.Diagnostics": "1.0.0-rc1-final",
"Microsoft.AspNet.Authorization": "1.0.0-rc1-final",
"Microsoft.AspNet.Mvc.Core": "6.0.0-rc1-final",
"Microsoft.AspNet.Mvc.Abstractions": "6.0.0-rc1-final",
"Microsoft.AspNet.Authentication.JwtBearer": "1.0.0-rc1-final",
"Microsoft.Extensions.PlatformAbstractions": "1.0.0-rc1-final",
"Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final",
"Microsoft.Extensions.Logging": "1.0.0-rc1-final",
"Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final",
"Microsoft.Extensions.Configuration": "1.0.0-rc1-final",
"Microsoft.Extensions.Configuration.Json": "1.0.0-rc1-final",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc1-final",
"Newtonsoft.Json": "6.0.6",
"WindowsAzure.Storage": "5.0.2"
},
"commands": {
"web": "Microsoft.AspNet.Server.Kestrel",
},
"frameworks": {
"dnx451": { }
},
"publishExclude": [
"node_modules",
"bower_components",
"**.xproj",
"**.user",
"**.vspscc"
],
"exclude": [
"wwwroot",
"node_modules",
"bower_components"
]
}
这究竟是为什么?
您是否使用http://get.asp.net上的安装程序为Visual Studio安装了RC1工具? – poke
在您的gulpfile.js中是否有任何引用beta8的内容? – JonTheMon