Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图对我的 global.asax.cs 文件进行一些更改,当我发现在发布我的 mvc 应用程序后,Visual Studio 甚至没有触及该文件。最后修改日期是从上周开始的,而今天我对其进行了很多更改。我如何强制视觉工作室实际做一些有用的事情?
确保 Global.asax 的“构建操作”设置为“内容”。打开 Visual Studio -> 右键单击 Global.asax -> 构建操作