为什么我的 asp.net 项目看起来引用未解决?
why my asp.net project look like references not resolved?
运行 VS 2015 RC on windows 7 64,对于asp.net项目,看起来像下面的截图,也没有智能感知,但项目可以编译,有什么问题吗?
VS 安装了 resharper 9 和 web essential 扩展
project.json
{
"webroot": "wwwroot",
"version": "1.0.0-*",
"dependencies": {
"Microsoft.AspNet.Server.IIS": "1.0.0-beta4",
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta4",
//"Microsoft.AspNet.Mvc": "6.0.0-beta4"
},
"commands": {
"web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5000"
},
"frameworks": {
"dnx451": { },
"dnxcore50": { }
},
"publishExclude": [
"node_modules",
"bower_components",
"**.xproj",
"**.user",
"**.vspscc"
],
"exclude": [
"wwwroot",
"node_modules",
"bower_components"
]
}
另外,一直收到错误消息
activitylog.xml
它们没有丢失,只是没有被使用。如果它们是 missing/unresolved,就会有一个红色波浪线。它们变暗是因为您没有使用它们。
看到这个:http://csharp.2000things.com/2014/10/28/1213-visual-studio-2014-unused-using-statements-greyed-out/
试试这个解决其他问题:
- 运行 VS with /SafeMode 开关(消除扩展问题和可能与 VS 的冲突)
- 在依赖文件中取消注释 "Microsoft.AspNet.Mvc": "6.0.0-beta4" 行
运行 VS 2015 RC on windows 7 64,对于asp.net项目,看起来像下面的截图,也没有智能感知,但项目可以编译,有什么问题吗?
VS 安装了 resharper 9 和 web essential 扩展
project.json
{
"webroot": "wwwroot",
"version": "1.0.0-*",
"dependencies": {
"Microsoft.AspNet.Server.IIS": "1.0.0-beta4",
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta4",
//"Microsoft.AspNet.Mvc": "6.0.0-beta4"
},
"commands": {
"web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5000"
},
"frameworks": {
"dnx451": { },
"dnxcore50": { }
},
"publishExclude": [
"node_modules",
"bower_components",
"**.xproj",
"**.user",
"**.vspscc"
],
"exclude": [
"wwwroot",
"node_modules",
"bower_components"
]
}
另外,一直收到错误消息
activitylog.xml
它们没有丢失,只是没有被使用。如果它们是 missing/unresolved,就会有一个红色波浪线。它们变暗是因为您没有使用它们。
看到这个:http://csharp.2000things.com/2014/10/28/1213-visual-studio-2014-unused-using-statements-greyed-out/
试试这个解决其他问题:
- 运行 VS with /SafeMode 开关(消除扩展问题和可能与 VS 的冲突)
- 在依赖文件中取消注释 "Microsoft.AspNet.Mvc": "6.0.0-beta4" 行