我已将项目依赖项从beta5升级到beta6,包括Microsoft.AspNet.Mvc。
现在我在Microsoft.Owin 3.0.1,Microsoft.Owin.Security 3.0.1,Microsoft.Owin.Security.Facebook 3.0.1,Microsoft.WindowsAzure.ConfigurationManager 3.1.0上获得了一些依赖性错误。 Owin 1.0。
我之前的升级中没有遇到过这个问题。
我的project.json文件如下:
{
"version": "1.0.0-*",
"description": "",
"authors": [ "" ],
"tags": [ "" ],
"projectUrl": "",
"licenseUrl": "",
"dependencies": {
"WindowsAzure.Storage": "4.4.1-preview",
"EntityFramework.SqlServer": "7.0.0-beta6",
"EntityFramework.Commands": "7.0.0-beta6",
"Microsoft.AspNet.Mvc": "6.0.0-beta6",
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-beta6",
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-beta6",
"Microsoft.AspNet.Authentication.Facebook": "1.0.0-beta6",
"Microsoft.AspNet.Authentication.Google": "1.0.0-beta6",
"Microsoft.AspNet.Authentication.MicrosoftAccount": "1.0.0-beta6",
"Microsoft.AspNet.Authentication.Twitter": "1.0.0-beta6",
"Microsoft.AspNet.Diagnostics": "1.0.0-beta6",
"Microsoft.AspNet.Diagnostics.Entity": "7.0.0-beta6",
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-beta6",
"Microsoft.AspNet.Server.IIS": "1.0.0-beta6",
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta6",
"Microsoft.AspNet.StaticFiles": "1.0.0-beta6",
"Microsoft.AspNet.Tooling.Razor": "1.0.0-beta6",
"Microsoft.Framework.Configuration": "1.0.0-beta6",
"Microsoft.Framework.Configuration.Json": "1.0.0-beta6",
"Microsoft.Framework.Configuration.UserSecrets": "1.0.0-beta6",
"Microsoft.Framework.CodeGenerators.Mvc": "1.0.0-beta5",
"Microsoft.Framework.Logging": "1.0.0-beta6",
"Microsoft.Framework.Logging.Console": "1.0.0-beta6",
"Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-beta6",
"Microsoft.Net.Http": "2.2.29",
"Microsoft.Owin.Security.Facebook": "3.0.1",
"Microsoft.WindowsAzure.ConfigurationManager": "3.1.0" },
"frameworks": {
"dnx451": { },
"dnxcore50": { } } }
答案 0 :(得分:0)
Beta8已经出局,请尝试更新。另外,Microsoft.WindowsAzure.ConfigurationManager与例如不同。 " WindowsAzure.Storage(预览)" DNX SDK尚不支持。