diff options
Diffstat (limited to 'src/Directory.wixproj.targets')
-rw-r--r-- | src/Directory.wixproj.targets | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Directory.wixproj.targets b/src/Directory.wixproj.targets new file mode 100644 index 00000000..bac132ec --- /dev/null +++ b/src/Directory.wixproj.targets | |||
@@ -0,0 +1,16 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | <Project> | ||
5 | <Target Name="_SetWixVersion" | ||
6 | DependsOnTargets="__SetPropertiesFromGit" | ||
7 | AfterTargets="_CreateProjectDefineConstants"> | ||
8 | <PropertyGroup> | ||
9 | <DefineConstants> | ||
10 | $(DefineConstants); | ||
11 | SetupVersion=$(FileVersion); | ||
12 | SetupMajorMinorVersion=$(GitBaseVersionMajor).$(GitBaseVersionMinor); | ||
13 | </DefineConstants> | ||
14 | </PropertyGroup> | ||
15 | </Target> | ||
16 | </Project> | ||