diff options
author | Rob Mensching <rob@firegiant.com> | 2021-02-27 15:38:50 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-02-27 15:42:33 -0800 |
commit | 1550b30702ae4e83ea8b30bf95a4f20a6424aa4b (patch) | |
tree | 5093d4cd9dbf7999782382e1b91ad225f9c121d7 /src/ca | |
parent | 3fae69ccb71d99c79adba6855ba7d6402216085d (diff) | |
download | wix-1550b30702ae4e83ea8b30bf95a4f20a6424aa4b.tar.gz wix-1550b30702ae4e83ea8b30bf95a4f20a6424aa4b.tar.bz2 wix-1550b30702ae4e83ea8b30bf95a4f20a6424aa4b.zip |
Include native .pdbs in .wixext.nupkg and refine build process
Diffstat (limited to 'src/ca')
-rw-r--r-- | src/ca/dependencyca.vcxproj | 35 | ||||
-rw-r--r-- | src/ca/packages.config | 5 |
2 files changed, 24 insertions, 16 deletions
diff --git a/src/ca/dependencyca.vcxproj b/src/ca/dependencyca.vcxproj index 6cc0d24e..750deb3c 100644 --- a/src/ca/dependencyca.vcxproj +++ b/src/ca/dependencyca.vcxproj | |||
@@ -1,8 +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 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 4 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
4 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.56\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.56\build\WixToolset.DUtil.props')" /> | ||
5 | <Import Project="..\..\packages\WixToolset.WcaUtil.4.0.17\build\WixToolset.WcaUtil.props" Condition="Exists('..\..\packages\WixToolset.WcaUtil.4.0.17\build\WixToolset.WcaUtil.props')" /> | ||
6 | <ItemGroup Label="ProjectConfigurations"> | 5 | <ItemGroup Label="ProjectConfigurations"> |
7 | <ProjectConfiguration Include="Debug|Win32"> | 6 | <ProjectConfiguration Include="Debug|Win32"> |
8 | <Configuration>Debug</Configuration> | 7 | <Configuration>Debug</Configuration> |
@@ -29,6 +28,7 @@ | |||
29 | <Platform>ARM64</Platform> | 28 | <Platform>ARM64</Platform> |
30 | </ProjectConfiguration> | 29 | </ProjectConfiguration> |
31 | </ItemGroup> | 30 | </ItemGroup> |
31 | |||
32 | <PropertyGroup Label="Globals"> | 32 | <PropertyGroup Label="Globals"> |
33 | <ProjectGuid>{B86AF46C-0F90-49CC-923F-A800B088D015}</ProjectGuid> | 33 | <ProjectGuid>{B86AF46C-0F90-49CC-923F-A800B088D015}</ProjectGuid> |
34 | <ConfigurationType>DynamicLibrary</ConfigurationType> | 34 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
@@ -39,30 +39,43 @@ | |||
39 | <Description>WiX Toolset Dependency CustomAction</Description> | 39 | <Description>WiX Toolset Dependency CustomAction</Description> |
40 | <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> | 40 | <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
41 | </PropertyGroup> | 41 | </PropertyGroup> |
42 | |||
42 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 43 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
43 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 44 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
45 | |||
44 | <PropertyGroup> | 46 | <PropertyGroup> |
45 | <ProjectAdditionalLinkLibraries>msi.lib</ProjectAdditionalLinkLibraries> | 47 | <ProjectAdditionalLinkLibraries>msi.lib</ProjectAdditionalLinkLibraries> |
46 | </PropertyGroup> | 48 | </PropertyGroup> |
49 | |||
47 | <ItemGroup> | 50 | <ItemGroup> |
48 | <ClCompile Include="dllmain.cpp"> | 51 | <ClCompile Include="dllmain.cpp"> |
49 | <PrecompiledHeader>Create</PrecompiledHeader> | 52 | <PrecompiledHeader>Create</PrecompiledHeader> |
50 | </ClCompile> | 53 | </ClCompile> |
51 | <ClCompile Include="wixdepca.cpp" /> | 54 | <ClCompile Include="wixdepca.cpp" /> |
52 | </ItemGroup> | 55 | </ItemGroup> |
56 | |||
53 | <ItemGroup> | 57 | <ItemGroup> |
54 | <ClInclude Include="precomp.h" /> | 58 | <ClInclude Include="precomp.h" /> |
55 | </ItemGroup> | 59 | </ItemGroup> |
60 | |||
56 | <ItemGroup> | 61 | <ItemGroup> |
57 | <None Include="packages.config" /> | ||
58 | <None Include="wixdepca.def" /> | 62 | <None Include="wixdepca.def" /> |
59 | </ItemGroup> | 63 | </ItemGroup> |
64 | |||
65 | <ItemGroup> | ||
66 | <PackageReference Include="WixToolset.Dutil"> | ||
67 | <Version>4.0.62</Version> | ||
68 | </PackageReference> | ||
69 | <PackageReference Include="WixToolset.WcaUtil"> | ||
70 | <Version>4.0.18</Version> | ||
71 | </PackageReference> | ||
72 | <PackageReference Include="Microsoft.SourceLink.GitHub"> | ||
73 | <Version>1.0.0</Version> | ||
74 | </PackageReference> | ||
75 | <PackageReference Include="Nerdbank.GitVersioning"> | ||
76 | <Version>3.3.37</Version> | ||
77 | </PackageReference> | ||
78 | </ItemGroup> | ||
79 | |||
60 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 80 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
61 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | 81 | </Project> |
62 | <PropertyGroup> | ||
63 | <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> | ||
64 | </PropertyGroup> | ||
65 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.56\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.56\build\WixToolset.DUtil.props'))" /> | ||
66 | <Error Condition="!Exists('..\..\packages\WixToolset.WcaUtil.4.0.17\build\WixToolset.WcaUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.WcaUtil.4.0.17\build\WixToolset.WcaUtil.props'))" /> | ||
67 | </Target> | ||
68 | </Project> \ No newline at end of file | ||
diff --git a/src/ca/packages.config b/src/ca/packages.config deleted file mode 100644 index 9d88f529..00000000 --- a/src/ca/packages.config +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <packages> | ||
3 | <package id="WixToolset.DUtil" version="4.0.56" targetFramework="native" /> | ||
4 | <package id="WixToolset.WcaUtil" version="4.0.17" targetFramework="native" /> | ||
5 | </packages> \ No newline at end of file | ||