Reputation: 10068
I was trying to make some changes to my global.asax.cs file, when I spotted, that after publishing my mvc application that file is not even touched by visual studio. Last modified date is from last week, while today I made a lot of changes to it. How do I force visual studio to actually do something useful?
Upvotes: 1
Views: 1012
Reputation: 15138
Make sure that the "Build Action" for the Global.asax is set to "Content". Open Visual Studio -> Right Click on Global.asax -> Build Action
Upvotes: 1