I have a asp.net mvc 4 application developed on Visual Studio 2013, what I need is every time I publish the application, I would like to update the date in /views/Home/index.cshtml so it updates to datetime of the release.
Example: I have this code at bottom of index.cshtml file
<p>©2015 mysite.com | Released on 04/03/2015 12:05pm</p>
So this part 04/03/2015 12:05pm
need to be updated every time I do publish release.
Is this possible to be achieved? I searched it on the net and couldn't find anything helpful.
Any help out there? thanks