Skip to content

Commit

Permalink
Updated AssemblyVersion.tt
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxgurugamer committed Nov 19, 2019
1 parent ffec44e commit a061b32
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ ChangeLog

0.1.9.4
Fixed nullref which occurred with CRASH
Updated AssemblyVersion.tt

0.1.9.3
Really did the MiniAVC update
Expand Down
8 changes: 6 additions & 2 deletions ClickThroughBlocker/AssemblyVersion.tt
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@
int i2 = 0;
string s;


// For Visual Studio / MSBuild Build-Time Template Resolution
string RootDirectory = System.IO.Path.GetDirectoryName(Host.TemplateFile) + @"\..\";

//
// Update the following with the complete path to the .version file
// Update the following with the name of the .version file which is in the root directory
//
string versionfile = @"D:\Users\jbb\github\ClickThroughBlocker\ClickThroughBlocker.version";
string versionfile = RootDirectory + "ClickThroughBlocker.version";

if (!File.Exists(versionfile))
{
Expand Down

0 comments on commit a061b32

Please sign in to comment.