her*_*rrh 15 c# asp.net asp.net-core-mvc visual-studio-2015 asp.net-core
我从私有git存储库克隆了一个现有的ASP.NET 5 MVC 6项目.当我运行该项目时,我收到以下错误:
The selected debug option is IIS Express but this project is not a web project. To use IIS Express you need tho add the wwwroot attribute to project.json.
wwwroot文件夹也未正确显示,并显示为普通文件夹.
安装Visual Studio 2015 - 更新1
我有同样的问题.
对我来说,将此行添加到project.json文件的顶部解决了这个问题.
"webroot": "wwwroot",
"version": "1.0.0-*",
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
6730 次 |
最近记录: |