I cloned an existing ASP.NET 5 MVC 6 project from a private git repository. When I run the project I receive the following error:
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.
The wwwroot folder is also not shown correctly and is displayed as a normal folder.
Installed Visual Studio 2015 - Update 1
make sure you install asp.net rc1 update 1 from http://get.asp.net
I had the same problem.
For me, adding this line to the top of the project.json file solved the issue.
"webroot": "wwwroot",
"version": "1.0.0-*",
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With