遇到“找不到此项目类型基于的应用程序。”将解决方案迁移到Visual Studio 2019之后

时间:2019-09-27 16:40:18

标签: asp.net asp.net-mvc visual-studio asp.net-mvc-3 visual-studio-2019

我试图在Visual Studio中打开一个涉及VS 2010中开发的MVC项目的解决方案。打开解决方案后,出现以下错误:https://imgur.com/a/LxPzAOY

迁移报告包含以下消息:

The application which this project type is based on was not found. 
Please try this link for further information: 
http://go.microsoft.com/fwlink/?LinkID=299083&projecttype=F85E285D-A4E0-4152-9332-AB1D724D3325

我尝试了以下方法(不分先后)

  1. 修复VS
  2. 在解决方案目录中运行devenv /Setup
  3. 删除与项目关联的.user文件
  4. 重启计算机后重复所有这些步骤
  5. 按照迁移报告中的链接所述安装MVC 3并创建MVC项目。在这里,所描述的文件(例如/Views/Web.config)似乎不存在。

我需要进行哪些更改以使MVC项目兼容?

不确定我需要什么代码/配置文件,但请评论可能有帮助的其他信息。

0 个答案:

没有答案