打开mvc项目的csproj文件: <MvcBuildViews>false</MvcBuildViews> 改为 <MvcBuildViews>true</MvcBuildViews> 相关文章: 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2021-08-13 2022-12-23