Last active
August 29, 2015 14:20
-
-
Save peterdalle/a9827137a40a1945a57e to your computer and use it in GitHub Desktop.
Create property for build date in VB.NET
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Build date %DATE% | |
REM Write to file: BuildDate.vb | |
echo ' This file is autogenerated by CreateBuildDate.bat. Changes here will be lost. > BuildDate.vb | |
echo Namespace Snuffbox.Configuration >> BuildDate.vb | |
echo Public Partial Class Settings >> BuildDate.vb | |
echo Public Shared ReadOnly Property BuildDate As String >> BuildDate.vb | |
echo Get >> BuildDate.vb | |
echo Return "%DATE% %TIME:~0,8%" >> BuildDate.vb | |
echo End Get >> BuildDate.vb | |
echo End Property >> BuildDate.vb | |
echo End Class >> BuildDate.vb | |
echo End Namespace >> BuildDate.vb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment