Skip to content

Commit a061b32

Browse files
Updated AssemblyVersion.tt
1 parent ffec44e commit a061b32

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ ChangeLog
22

33
0.1.9.4
44
Fixed nullref which occurred with CRASH
5+
Updated AssemblyVersion.tt
56

67
0.1.9.3
78
Really did the MiniAVC update

ClickThroughBlocker/AssemblyVersion.tt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@
2727
int i2 = 0;
2828
string s;
2929

30+
31+
// For Visual Studio / MSBuild Build-Time Template Resolution
32+
string RootDirectory = System.IO.Path.GetDirectoryName(Host.TemplateFile) + @"\..\";
33+
3034
//
31-
// Update the following with the complete path to the .version file
35+
// Update the following with the name of the .version file which is in the root directory
3236
//
33-
string versionfile = @"D:\Users\jbb\github\ClickThroughBlocker\ClickThroughBlocker.version";
37+
string versionfile = RootDirectory + "ClickThroughBlocker.version";
3438

3539
if (!File.Exists(versionfile))
3640
{

0 commit comments

Comments
 (0)