diff options
author | Rob Mensching <rob@firegiant.com> | 2021-03-03 13:14:38 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-03-03 13:49:20 -0800 |
commit | f7268b6ba1fbcc25ba321205d2fdea6bd0d39b2b (patch) | |
tree | a8a5dc64f17525ad84ea4b6e4204feb0b92deb38 | |
parent | 0cce08ec250a53f28c2b349b8d88d3d9ea7def9c (diff) | |
download | wix-f7268b6ba1fbcc25ba321205d2fdea6bd0d39b2b.tar.gz wix-f7268b6ba1fbcc25ba321205d2fdea6bd0d39b2b.tar.bz2 wix-f7268b6ba1fbcc25ba321205d2fdea6bd0d39b2b.zip |
Update to latest build infrastructure
-rw-r--r-- | appveyor.cmd | 14 | ||||
-rw-r--r-- | global.json | 2 | ||||
-rw-r--r-- | src/be/packages.config | 10 | ||||
-rw-r--r-- | src/be/utilbe.vcxproj | 46 | ||||
-rw-r--r-- | src/ca/packages.config | 9 | ||||
-rw-r--r-- | src/ca/utilca.vcxproj | 36 | ||||
-rw-r--r-- | src/test/WixToolsetTest.Util/UtilExtensionFixture.cs | 1 | ||||
-rw-r--r-- | src/wixext/WixToolset.Util.wixext.csproj | 10 | ||||
-rw-r--r-- | src/wixext/WixToolset.Util.wixext.nuspec | 1 | ||||
-rw-r--r-- | src/wixlib/util.wixproj | 19 |
10 files changed, 45 insertions, 103 deletions
diff --git a/appveyor.cmd b/appveyor.cmd index 6b666bbd..8322ffae 100644 --- a/appveyor.cmd +++ b/appveyor.cmd | |||
@@ -1,13 +1,19 @@ | |||
1 | @setlocal | 1 | @setlocal |
2 | @pushd %~dp0 | 2 | @pushd %~dp0 |
3 | @set _C=Release | ||
4 | @if /i "%1"=="debug" set _C=Debug | ||
3 | 5 | ||
4 | nuget restore || exit /b | 6 | :: Restore |
7 | msbuild -p:Configuration=%_C% -t:Restore || exit /b | ||
5 | 8 | ||
6 | msbuild -p:Configuration=Release -Restore || exit /b | 9 | :: Build |
10 | msbuild -p:Configuration=%_C% src\test\WixToolsetTest.Util\WixToolsetTest.Util.csproj || exit /b | ||
7 | 11 | ||
8 | dotnet test -c Release --no-build src\test\WixToolsetTest.Util || exit /b | 12 | :: Test |
13 | dotnet test -c %_C% --no-build src\test\WixToolsetTest.Util || exit /b | ||
9 | 14 | ||
10 | msbuild -p:Configuration=Release -p:NoBuild=true -t:Pack src\wixext\WixToolset.Util.wixext.csproj || exit /b | 15 | :: Pack |
16 | msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.Util.wixext.csproj || exit /b | ||
11 | 17 | ||
12 | @popd | 18 | @popd |
13 | @endlocal | 19 | @endlocal |
diff --git a/global.json b/global.json index 137c0ebf..2e158a40 100644 --- a/global.json +++ b/global.json | |||
@@ -1,6 +1,6 @@ | |||
1 | { | 1 | { |
2 | "msbuild-sdks": { | 2 | "msbuild-sdks": { |
3 | "WixToolset.Sdk": "4.0.0-build-0193" | 3 | "WixToolset.Sdk": "4.0.0-build-0194" |
4 | }, | 4 | }, |
5 | "sdk": { | 5 | "sdk": { |
6 | "allowPrerelease": false | 6 | "allowPrerelease": false |
diff --git a/src/be/packages.config b/src/be/packages.config deleted file mode 100644 index ff45698b..00000000 --- a/src/be/packages.config +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <packages> | ||
3 | <package id="Microsoft.Build.Tasks.Git" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
4 | <package id="Microsoft.SourceLink.Common" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
5 | <package id="Microsoft.SourceLink.GitHub" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
6 | <package id="Nerdbank.GitVersioning" version="3.3.37" targetFramework="native" developmentDependency="true" /> | ||
7 | <package id="WixToolset.BextUtil" version="4.0.50" targetFramework="native" /> | ||
8 | <package id="WixToolset.BootstrapperCore.Native" version="4.0.94" targetFramework="native" /> | ||
9 | <package id="WixToolset.DUtil" version="4.0.64" targetFramework="native" /> | ||
10 | </packages> \ No newline at end of file | ||
diff --git a/src/be/utilbe.vcxproj b/src/be/utilbe.vcxproj index ff50c655..ad89d8a0 100644 --- a/src/be/utilbe.vcxproj +++ b/src/be/utilbe.vcxproj | |||
@@ -1,12 +1,7 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 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. --> | 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 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 3 | |
4 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" /> | 4 | <Project DefaultTargets="Build" ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
5 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" /> | ||
6 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" /> | ||
7 | <Import Project="..\..\packages\WixToolset.BextUtil.4.0.50\build\WixToolset.BextUtil.props" Condition="Exists('..\..\packages\WixToolset.BextUtil.4.0.50\build\WixToolset.BextUtil.props')" /> | ||
8 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.94\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.94\build\WixToolset.BootstrapperCore.Native.props')" /> | ||
9 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.64\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.64\build\WixToolset.DUtil.props')" /> | ||
10 | <ItemGroup Label="ProjectConfigurations"> | 5 | <ItemGroup Label="ProjectConfigurations"> |
11 | <ProjectConfiguration Include="Debug|ARM64"> | 6 | <ProjectConfiguration Include="Debug|ARM64"> |
12 | <Configuration>Debug</Configuration> | 7 | <Configuration>Debug</Configuration> |
@@ -33,6 +28,7 @@ | |||
33 | <Platform>Win32</Platform> | 28 | <Platform>Win32</Platform> |
34 | </ProjectConfiguration> | 29 | </ProjectConfiguration> |
35 | </ItemGroup> | 30 | </ItemGroup> |
31 | |||
36 | <PropertyGroup Label="Globals"> | 32 | <PropertyGroup Label="Globals"> |
37 | <ProjectGuid>{630C1EE7-2517-4A8C-83E3-DA1150308B58}</ProjectGuid> | 33 | <ProjectGuid>{630C1EE7-2517-4A8C-83E3-DA1150308B58}</ProjectGuid> |
38 | <ConfigurationType>DynamicLibrary</ConfigurationType> | 34 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
@@ -42,11 +38,14 @@ | |||
42 | <ProjectModuleDefinitionFile>utilbe.def</ProjectModuleDefinitionFile> | 38 | <ProjectModuleDefinitionFile>utilbe.def</ProjectModuleDefinitionFile> |
43 | <Description>WiX Toolset Util BundleExtension</Description> | 39 | <Description>WiX Toolset Util BundleExtension</Description> |
44 | </PropertyGroup> | 40 | </PropertyGroup> |
41 | |||
45 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 42 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
46 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 43 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
44 | |||
47 | <PropertyGroup> | 45 | <PropertyGroup> |
48 | <ProjectAdditionalLinkLibraries>msi.lib</ProjectAdditionalLinkLibraries> | 46 | <ProjectAdditionalLinkLibraries>msi.lib</ProjectAdditionalLinkLibraries> |
49 | </PropertyGroup> | 47 | </PropertyGroup> |
48 | |||
50 | <ItemGroup> | 49 | <ItemGroup> |
51 | <ClCompile Include="detectsha2support.cpp" /> | 50 | <ClCompile Include="detectsha2support.cpp" /> |
52 | <ClCompile Include="precomp.cpp"> | 51 | <ClCompile Include="precomp.cpp"> |
@@ -56,6 +55,7 @@ | |||
56 | <ClCompile Include="UtilBundleExtension.cpp" /> | 55 | <ClCompile Include="UtilBundleExtension.cpp" /> |
57 | <ClCompile Include="utilsearch.cpp" /> | 56 | <ClCompile Include="utilsearch.cpp" /> |
58 | </ItemGroup> | 57 | </ItemGroup> |
58 | |||
59 | <ItemGroup> | 59 | <ItemGroup> |
60 | <ClInclude Include="beDecor.h" /> | 60 | <ClInclude Include="beDecor.h" /> |
61 | <ClInclude Include="detectsha2support.h" /> | 61 | <ClInclude Include="detectsha2support.h" /> |
@@ -63,28 +63,18 @@ | |||
63 | <ClInclude Include="UtilBundleExtension.h" /> | 63 | <ClInclude Include="UtilBundleExtension.h" /> |
64 | <ClInclude Include="utilsearch.h" /> | 64 | <ClInclude Include="utilsearch.h" /> |
65 | </ItemGroup> | 65 | </ItemGroup> |
66 | |||
66 | <ItemGroup> | 67 | <ItemGroup> |
67 | <None Include="packages.config" /> | ||
68 | <None Include="utilbe.def" /> | 68 | <None Include="utilbe.def" /> |
69 | </ItemGroup> | 69 | </ItemGroup> |
70 | |||
71 | <ItemGroup> | ||
72 | <PackageReference Include="WixToolset.BextUtil" Version="4.0.50" /> | ||
73 | <PackageReference Include="WixToolset.BootstrapperCore.Native" Version="4.0.94" /> | ||
74 | <PackageReference Include="WixToolset.DUtil" Version="4.0.64" /> | ||
75 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" /> | ||
76 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" /> | ||
77 | </ItemGroup> | ||
78 | |||
70 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 79 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
71 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" /> | 80 | </Project> |
72 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" /> | ||
73 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" /> | ||
74 | <Import Project="..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" /> | ||
75 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
76 | <PropertyGroup> | ||
77 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
78 | </PropertyGroup> | ||
79 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props'))" /> | ||
80 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets'))" /> | ||
81 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props'))" /> | ||
82 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets'))" /> | ||
83 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props'))" /> | ||
84 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets'))" /> | ||
85 | <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" /> | ||
86 | <Error Condition="!Exists('..\..\packages\WixToolset.BextUtil.4.0.50\build\WixToolset.BextUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BextUtil.4.0.50\build\WixToolset.BextUtil.props'))" /> | ||
87 | <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.94\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BootstrapperCore.Native.4.0.94\build\WixToolset.BootstrapperCore.Native.props'))" /> | ||
88 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.64\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.64\build\WixToolset.DUtil.props'))" /> | ||
89 | </Target> | ||
90 | </Project> \ No newline at end of file | ||
diff --git a/src/ca/packages.config b/src/ca/packages.config deleted file mode 100644 index 9e7a0c36..00000000 --- a/src/ca/packages.config +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <packages> | ||
3 | <package id="Microsoft.Build.Tasks.Git" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
4 | <package id="Microsoft.SourceLink.Common" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
5 | <package id="Microsoft.SourceLink.GitHub" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
6 | <package id="Nerdbank.GitVersioning" version="3.3.37" targetFramework="native" developmentDependency="true" /> | ||
7 | <package id="WixToolset.DUtil" version="4.0.64" targetFramework="native" /> | ||
8 | <package id="WixToolset.WcaUtil" version="4.0.18" targetFramework="native" /> | ||
9 | </packages> \ No newline at end of file | ||
diff --git a/src/ca/utilca.vcxproj b/src/ca/utilca.vcxproj index 4e7ff495..c2117f79 100644 --- a/src/ca/utilca.vcxproj +++ b/src/ca/utilca.vcxproj | |||
@@ -1,13 +1,7 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 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. --> | 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 | 3 | ||
4 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 4 | <Project DefaultTargets="Build" ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
5 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" /> | ||
6 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" /> | ||
7 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" /> | ||
8 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.64\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.64\build\WixToolset.DUtil.props')" /> | ||
9 | <Import Project="..\..\packages\WixToolset.WcaUtil.4.0.18\build\WixToolset.WcaUtil.props" Condition="Exists('..\..\packages\WixToolset.WcaUtil.4.0.18\build\WixToolset.WcaUtil.props')" /> | ||
10 | |||
11 | <ItemGroup Label="ProjectConfigurations"> | 5 | <ItemGroup Label="ProjectConfigurations"> |
12 | <ProjectConfiguration Include="Debug|ARM64"> | 6 | <ProjectConfiguration Include="Debug|ARM64"> |
13 | <Configuration>Debug</Configuration> | 7 | <Configuration>Debug</Configuration> |
@@ -97,27 +91,15 @@ | |||
97 | </ItemGroup> | 91 | </ItemGroup> |
98 | 92 | ||
99 | <ItemGroup> | 93 | <ItemGroup> |
100 | <None Include="packages.config" /> | ||
101 | <None Include="utilca.def" /> | 94 | <None Include="utilca.def" /> |
102 | </ItemGroup> | 95 | </ItemGroup> |
103 | 96 | ||
97 | <ItemGroup> | ||
98 | <PackageReference Include="WixToolset.Dutil" Version="4.0.64" /> | ||
99 | <PackageReference Include="WixToolset.WcaUtil" Version="4.0.18" /> | ||
100 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" /> | ||
101 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" /> | ||
102 | </ItemGroup> | ||
103 | |||
104 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 104 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
105 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" /> | 105 | </Project> |
106 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" /> | ||
107 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" /> | ||
108 | <Import Project="..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" /> | ||
109 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
110 | <PropertyGroup> | ||
111 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
112 | </PropertyGroup> | ||
113 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props'))" /> | ||
114 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets'))" /> | ||
115 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props'))" /> | ||
116 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets'))" /> | ||
117 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props'))" /> | ||
118 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets'))" /> | ||
119 | <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" /> | ||
120 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.64\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.64\build\WixToolset.DUtil.props'))" /> | ||
121 | <Error Condition="!Exists('..\..\packages\WixToolset.WcaUtil.4.0.18\build\WixToolset.WcaUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.WcaUtil.4.0.18\build\WixToolset.WcaUtil.props'))" /> | ||
122 | </Target> | ||
123 | </Project> \ No newline at end of file | ||
diff --git a/src/test/WixToolsetTest.Util/UtilExtensionFixture.cs b/src/test/WixToolsetTest.Util/UtilExtensionFixture.cs index e1a608d3..0761a004 100644 --- a/src/test/WixToolsetTest.Util/UtilExtensionFixture.cs +++ b/src/test/WixToolsetTest.Util/UtilExtensionFixture.cs | |||
@@ -268,6 +268,7 @@ namespace WixToolsetTest.Util | |||
268 | var newArgs = args.ToList(); | 268 | var newArgs = args.ToList(); |
269 | newArgs.Add("-platform"); | 269 | newArgs.Add("-platform"); |
270 | newArgs.Add("x64"); | 270 | newArgs.Add("x64"); |
271 | newArgs.Add("-sw1072"); | ||
271 | 272 | ||
272 | var result = WixRunner.Execute(newArgs.ToArray()); | 273 | var result = WixRunner.Execute(newArgs.ToArray()); |
273 | result.AssertSuccess(); | 274 | result.AssertSuccess(); |
diff --git a/src/wixext/WixToolset.Util.wixext.csproj b/src/wixext/WixToolset.Util.wixext.csproj index b90c9035..10fc569e 100644 --- a/src/wixext/WixToolset.Util.wixext.csproj +++ b/src/wixext/WixToolset.Util.wixext.csproj | |||
@@ -8,13 +8,10 @@ | |||
8 | <Description>WiX Toolset Utility Extension</Description> | 8 | <Description>WiX Toolset Utility Extension</Description> |
9 | <Title>WiX Toolset Util Extension</Title> | 9 | <Title>WiX Toolset Util Extension</Title> |
10 | <DebugType>embedded</DebugType> | 10 | <DebugType>embedded</DebugType> |
11 | <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile> | ||
12 | <IncludeSymbols>true</IncludeSymbols> | 11 | <IncludeSymbols>true</IncludeSymbols> |
13 | <NuspecProperties>Id=$(MSBuildThisFileName);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description);Title=$(Title)</NuspecProperties> | ||
14 | </PropertyGroup> | 12 | </PropertyGroup> |
15 | 13 | ||
16 | <ItemGroup> | 14 | <ItemGroup> |
17 | <Content Include="$(MSBuildThisFileName).targets" /> | ||
18 | <EmbeddedResource Include="$(OutputPath)..\util.wixlib" /> | 15 | <EmbeddedResource Include="$(OutputPath)..\util.wixlib" /> |
19 | </ItemGroup> | 16 | </ItemGroup> |
20 | 17 | ||
@@ -31,11 +28,4 @@ | |||
31 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="all" /> | 28 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="all" /> |
32 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" /> | 29 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" /> |
33 | </ItemGroup> | 30 | </ItemGroup> |
34 | |||
35 | <Target Name="SetNuspecProperties" DependsOnTargets="InitializeSourceControlInformation" AfterTargets="GetBuildVersion"> | ||
36 | <PropertyGroup> | ||
37 | <NuspecBasePath>$(OutputPath)..\</NuspecBasePath> | ||
38 | <NuspecProperties>$(NuspecProperties);Version=$(BuildVersionSimple);RepositoryCommit=$(SourceRevisionId);RepositoryType=$(RepositoryType);RepositoryUrl=$(PrivateRepositoryUrl);ProjectFolder=$(MSBuildThisFileDirectory)</NuspecProperties> | ||
39 | </PropertyGroup> | ||
40 | </Target> | ||
41 | </Project> | 31 | </Project> |
diff --git a/src/wixext/WixToolset.Util.wixext.nuspec b/src/wixext/WixToolset.Util.wixext.nuspec index 43d461e7..ba3eaade 100644 --- a/src/wixext/WixToolset.Util.wixext.nuspec +++ b/src/wixext/WixToolset.Util.wixext.nuspec | |||
@@ -19,7 +19,6 @@ | |||
19 | <file src="netstandard2.0\$id$.dll" target="tools" /> | 19 | <file src="netstandard2.0\$id$.dll" target="tools" /> |
20 | 20 | ||
21 | <file src="ARM64\*.pdb" target="pdbs\ARM64" /> | 21 | <file src="ARM64\*.pdb" target="pdbs\ARM64" /> |
22 | <file src="Win32\*.pdb" target="pdbs\Win32" /> | ||
23 | <file src="x86\*.pdb" target="pdbs\x86" /> | 22 | <file src="x86\*.pdb" target="pdbs\x86" /> |
24 | <file src="x64\*.pdb" target="pdbs\x64" /> | 23 | <file src="x64\*.pdb" target="pdbs\x64" /> |
25 | </files> | 24 | </files> |
diff --git a/src/wixlib/util.wixproj b/src/wixlib/util.wixproj index 4aeb09f2..99dede7d 100644 --- a/src/wixlib/util.wixproj +++ b/src/wixlib/util.wixproj | |||
@@ -13,22 +13,15 @@ | |||
13 | </ItemGroup> | 13 | </ItemGroup> |
14 | 14 | ||
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <ProjectReference Include="..\be\utilbe.vcxproj" Properties="Platform=ARM64" /> | 16 | <ProjectReference Include="..\be\utilbe.vcxproj" Properties="Platform=ARM64" ReferenceOutputAssembly="false" /> |
17 | <ProjectReference Include="..\be\utilbe.vcxproj" Properties="Platform=x86" /> | 17 | <ProjectReference Include="..\be\utilbe.vcxproj" Properties="Platform=x86" ReferenceOutputAssembly="false" /> |
18 | <ProjectReference Include="..\be\utilbe.vcxproj" Properties="Platform=x64" /> | 18 | <ProjectReference Include="..\be\utilbe.vcxproj" Properties="Platform=x64" ReferenceOutputAssembly="false" /> |
19 | <ProjectReference Include="..\ca\utilca.vcxproj" Properties="Platform=ARM64" /> | 19 | <ProjectReference Include="..\ca\utilca.vcxproj" Properties="Platform=ARM64" ReferenceOutputAssembly="false" /> |
20 | <ProjectReference Include="..\ca\utilca.vcxproj" Properties="Platform=x86" /> | 20 | <ProjectReference Include="..\ca\utilca.vcxproj" Properties="Platform=x86" ReferenceOutputAssembly="false" /> |
21 | <ProjectReference Include="..\ca\utilca.vcxproj" Properties="Platform=x64" /> | 21 | <ProjectReference Include="..\ca\utilca.vcxproj" Properties="Platform=x64" ReferenceOutputAssembly="false" /> |
22 | </ItemGroup> | 22 | </ItemGroup> |
23 | 23 | ||
24 | <ItemGroup> | 24 | <ItemGroup> |
25 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" /> | 25 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" /> |
26 | </ItemGroup> | 26 | </ItemGroup> |
27 | |||
28 | <!-- Workaround for bug in ProjectReferenceDefineConstants, they're not needed for this project anyway --> | ||
29 | <Target Name="ClearProjectReferenceDefineConstants" AfterTargets="CalculateDefineConstants"> | ||
30 | <PropertyGroup> | ||
31 | <ProjectReferenceDefineConstants></ProjectReferenceDefineConstants> | ||
32 | </PropertyGroup> | ||
33 | </Target> | ||
34 | </Project> | 27 | </Project> |