| 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 | AfterTargets="_CreateProjectDefineConstants"> |
| 7 | <PropertyGroup> |
| 8 | <PrereleaseSuffix Condition=" '$(SomeVerInfoDashLabel)'!='' ">-prerelease</PrereleaseSuffix> |
| 9 | |
| 10 | <DefineConstants> |
| 11 | $(DefineConstants); |
| 12 | SetupVersion=$(PackageVersion); |
| 13 | SetupMajorVersion=$(SomeVerInfoMajor); |
| 14 | SetupMajorMinorVersion=$(SomeVerInfoMajor).$(SomeVerInfoMinor); |
| 15 | SetupMajorMinorPatchVersion=$(SomeVerInfoMajor).$(SomeVerInfoMinor).$(SomeVerInfoPatch); |
| 16 | SetupDashedMajorMinorVersion=$(SomeVerInfoMajor)-$(SomeVerInfoMinor); |
| 17 | SetupDashedPrerelease=$(PrereleaseSuffix) |
| 18 | </DefineConstants> |
| 19 | </PropertyGroup> |
| 20 | </Target> |
| 21 | </Project> |