1
- 新建 - >項目 - > Asp.net Web應用程序
- Asp.net預覽模板 - > Web應用程序
當我嘗試添加引用 「Signalr」 中的 「MVC6」 應用程序我得到這個錯誤 MVC6 d:\ ABC \ ABC \ MVC6 \ MVC6的\ src \ MVC6 \ project.json 29"無法在mvc 6.0中解決SignalR依賴性問題?
Project.json File
[![{
"webroot": "wwwroot",
"userSecretsId": "aspnet5-MVC6-1f7e65af-9175-4945-8e68-ee0805d494e9",
"version": "1.0.0-*",
"dependencies": {
"EntityFramework.SqlServer": "7.0.0-beta5",
"EntityFramework.Commands": "7.0.0-beta5",
"Microsoft.AspNet.Mvc": "6.0.0-beta5",
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-beta5",
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-beta5",
"Microsoft.AspNet.Authentication.Facebook": "1.0.0-beta5",
"Microsoft.AspNet.Authentication.Google": "1.0.0-beta5",
"Microsoft.AspNet.Authentication.MicrosoftAccount": "1.0.0-beta5",
"Microsoft.AspNet.Authentication.Twitter": "1.0.0-beta5",
"Microsoft.AspNet.Diagnostics": "1.0.0-beta5",
"Microsoft.AspNet.Diagnostics.Entity": "7.0.0-beta5",
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-beta5",
"Microsoft.AspNet.Server.IIS": "1.0.0-beta5",
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta5",
"Microsoft.AspNet.StaticFiles": "1.0.0-beta5",
"Microsoft.AspNet.Tooling.Razor": "1.0.0-beta5",
"Microsoft.Framework.Configuration.Abstractions": "1.0.0-beta5",
"Microsoft.Framework.Configuration.Json": "1.0.0-beta5",
"Microsoft.Framework.Configuration.UserSecrets": "1.0.0-beta5",
"Microsoft.Framework.Logging": "1.0.0-beta5",
"Microsoft.Framework.Logging.Console": "1.0.0-beta5",
"Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-beta5",
"Microsoft.AspNet.SignalR": "2.2.0"
},
"commands": {
"web": "Microsoft.AspNet.Hosting --config hosting.ini",
"ef": "EntityFramework.Commands"
},
"frameworks": {
"dnx451": { }
},
"exclude": \[
"wwwroot",
"node_modules",
"bower_components"
\],
"publishExclude": \[
"node_modules",
"bower_components",
"**.xproj",
"**.user",
"**.vspscc"
\],
"scripts": {
"prepublish": \[ "npm install", "bower install", "gulp clean", "gulp min" \]
}
}][1]][1]
[1]: http://i.stack.imgur.com/wMvK6.png
嚴重性代碼說明項目文件行 錯誤相關Microso位ft.AspNet.SignalR> = 2.2.0無法解析MVC6 d:\ ABC \ ABC \ MVC6 \ MVC6 \ SRC \ MVC6 \ project.json 29"
beta5?在beta5和RTM下週發貨後,有5個發佈... – Pawel