I have an ASP.NET MVC 4 application. Currently, I am setting the version of the application in the project properties under the \"Application\" tab. From here, I click the \
Working solution for correct date of modification after deploy:
@File.GetLastWriteTime(@System.Reflection.Assembly.GetExecutingAssembly().Location)
Can be used in MVC5 too.