【发布时间】:2015-12-31 13:39:11
【问题描述】:
我从一个私有 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
【问题讨论】:
-
您是否还从get.asp.net 安装了aspnet 5 rc1 update 1?
-
@herrh VS 2015 update 1 只有 beta8。强烈建议去 get.asp.net 下载最新版本。
-
@janpieter_z 好的,我会更新它。我认为这将解决我的问题。
-
您可以将此评论添加为答案,我会接受。
标签: c# asp.net visual-studio-2015 asp.net-core asp.net-core-mvc