diff options
Diffstat (limited to 'src/internal')
4 files changed, 35 insertions, 0 deletions
diff --git a/src/internal/SetBuildNumber/global.json.pp b/src/internal/SetBuildNumber/global.json.pp index 5907efb0..a3485efa 100644 --- a/src/internal/SetBuildNumber/global.json.pp +++ b/src/internal/SetBuildNumber/global.json.pp | |||
@@ -1,6 +1,7 @@ | |||
1 | { | 1 | { |
2 | "msbuild-sdks": { | 2 | "msbuild-sdks": { |
3 | "Microsoft.Build.Traversal": "3.0.23", | 3 | "Microsoft.Build.Traversal": "3.0.23", |
4 | "Microsoft.Build.NoTargets": "3.3.0", | ||
4 | "WixToolset.Sdk": "{packageversion}" | 5 | "WixToolset.Sdk": "{packageversion}" |
5 | }, | 6 | }, |
6 | "sdk": { | 7 | "sdk": { |
diff --git a/src/internal/WixBuildFinalize/WixBuildFinalize.proj b/src/internal/WixBuildFinalize/WixBuildFinalize.proj new file mode 100644 index 00000000..1e0a98d1 --- /dev/null +++ b/src/internal/WixBuildFinalize/WixBuildFinalize.proj | |||
@@ -0,0 +1,19 @@ | |||
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 Sdk="Microsoft.Build.NoTargets"> | ||
5 | <PropertyGroup> | ||
6 | <TargetFramework>net46</TargetFramework> | ||
7 | </PropertyGroup> | ||
8 | |||
9 | <ItemGroup> | ||
10 | <PackageReference Include="GitInfo" PrivateAssets="All" /> | ||
11 | </ItemGroup> | ||
12 | |||
13 | <Target Name="ZipPdbs" DependsOnTargets="__SetPropertiesFromGit" BeforeTargets="AfterBuild"> | ||
14 | <ZipDirectory | ||
15 | SourceDirectory="$(PdbsFolder)" | ||
16 | DestinationFile="$(ArtifactsFolder)\wix$(Version)-pdbs.zip" | ||
17 | Overwrite="true" /> | ||
18 | </Target> | ||
19 | </Project> | ||
diff --git a/src/internal/WixBuildTools.TestSupport.Native/WixBuildTools.TestSupport.Native.vcxproj b/src/internal/WixBuildTools.TestSupport.Native/WixBuildTools.TestSupport.Native.vcxproj index a96f8d2f..0eae7750 100644 --- a/src/internal/WixBuildTools.TestSupport.Native/WixBuildTools.TestSupport.Native.vcxproj +++ b/src/internal/WixBuildTools.TestSupport.Native/WixBuildTools.TestSupport.Native.vcxproj | |||
@@ -33,6 +33,7 @@ | |||
33 | <CLRSupport>true</CLRSupport> | 33 | <CLRSupport>true</CLRSupport> |
34 | <Description>WixBuildTools C++/CLI Test Support</Description> | 34 | <Description>WixBuildTools C++/CLI Test Support</Description> |
35 | <SignOutput>false</SignOutput> | 35 | <SignOutput>false</SignOutput> |
36 | <IsWixTestProject>true</IsWixTestProject> | ||
36 | </PropertyGroup> | 37 | </PropertyGroup> |
37 | 38 | ||
38 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 39 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
diff --git a/src/internal/finalize.cmd b/src/internal/finalize.cmd new file mode 100644 index 00000000..bbd6f01a --- /dev/null +++ b/src/internal/finalize.cmd | |||
@@ -0,0 +1,14 @@ | |||
1 | @setlocal | ||
2 | @pushd %~dp0 | ||
3 | |||
4 | @set _C=Debug | ||
5 | :parse_args | ||
6 | @if /i "%1"=="release" set _C=Release | ||
7 | @if not "%1"=="" shift & goto parse_args | ||
8 | |||
9 | @echo Finalize build %_C% | ||
10 | |||
11 | msbuild -Restore WixBuildFinalize\WixBuildFinalize.proj -p:Configuration=%_C% -nologo || exit /b | ||
12 | |||
13 | @popd | ||
14 | @endlocal | ||