- goto
Tools > options
search forPackage Restore
.SetRestore On Project Open
to False andRestore On Save
to False.
- Add build date to project,which can be helpful in future to know when was the project build.
-
Go to project settings by Right clicking project -> Build Events -> "Pre-build event command line" add
echo %date% %time% > "$(ProjectDir)\Properties\BuildDate.txt"
-
File contents can be accessed thru Properties object. example:
var buildDate = Properties.Resources.BuildDate;
Context.Response.Write($"\nBuild Date: {buildDate}\n");