diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2022-04-19 17:15:05 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2022-04-19 18:35:15 -0500 |
| commit | 57fd164d56466a52854e825afd5fdc2b6b97f12a (patch) | |
| tree | 7d4ace6d7a55c2a50302e3b6866456026a2c6222 /src/test | |
| parent | 6435d26c7e2ce54ec38d0cc9eb4d2cb10e9614e0 (diff) | |
| download | wix-57fd164d56466a52854e825afd5fdc2b6b97f12a.tar.gz wix-57fd164d56466a52854e825afd5fdc2b6b97f12a.tar.bz2 wix-57fd164d56466a52854e825afd5fdc2b6b97f12a.zip | |
Replace Dnc.Host with Dnc.HostGenerator to support linker trimming.
Diffstat (limited to 'src/test')
6 files changed, 24 insertions, 8 deletions
diff --git a/src/test/burn/TestBA/TestBA.csproj b/src/test/burn/TestBA/TestBA.csproj index 183ea02d..7d51f4aa 100644 --- a/src/test/burn/TestBA/TestBA.csproj +++ b/src/test/burn/TestBA/TestBA.csproj | |||
| @@ -21,4 +21,8 @@ | |||
| 21 | <ItemGroup> | 21 | <ItemGroup> |
| 22 | <PackageReference Include="WixToolset.Mba.Core" /> | 22 | <PackageReference Include="WixToolset.Mba.Core" /> |
| 23 | </ItemGroup> | 23 | </ItemGroup> |
| 24 | |||
| 25 | <ItemGroup Condition=" '$(TargetFrameworkIdentifier)'!='.NETFramework' "> | ||
| 26 | <PackageReference Include="WixToolset.Dnc.HostGenerator" /> | ||
| 27 | </ItemGroup> | ||
| 24 | </Project> | 28 | </Project> |
diff --git a/src/test/burn/TestBA/TestBA_x64.csproj b/src/test/burn/TestBA/TestBA_x64.csproj index 8e2bf513..cb9db1c4 100644 --- a/src/test/burn/TestBA/TestBA_x64.csproj +++ b/src/test/burn/TestBA/TestBA_x64.csproj | |||
| @@ -21,4 +21,8 @@ | |||
| 21 | <ItemGroup> | 21 | <ItemGroup> |
| 22 | <PackageReference Include="WixToolset.Mba.Core" /> | 22 | <PackageReference Include="WixToolset.Mba.Core" /> |
| 23 | </ItemGroup> | 23 | </ItemGroup> |
| 24 | |||
| 25 | <ItemGroup Condition=" '$(TargetFrameworkIdentifier)'!='.NETFramework' "> | ||
| 26 | <PackageReference Include="WixToolset.Dnc.HostGenerator" /> | ||
| 27 | </ItemGroup> | ||
| 24 | </Project> | 28 | </Project> |
diff --git a/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj b/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj index fa153974..fdce5ecd 100644 --- a/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj +++ b/src/test/burn/TestData/TestBA/TestBAWixlib/testbawixlib.wixproj | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | </PropertyGroup> | 7 | </PropertyGroup> |
| 8 | <ItemGroup> | 8 | <ItemGroup> |
| 9 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x86" BindName="net2x86" /> | 9 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x86" BindName="net2x86" /> |
| 10 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net45\win-x86" BindName="net4x86" /> | 10 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net472\win-x86" BindName="net4x86" /> |
| 11 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x86" BindName="dnc5x86" /> | 11 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x86" BindName="dnc5x86" /> |
| 12 | </ItemGroup> | 12 | </ItemGroup> |
| 13 | <ItemGroup> | 13 | <ItemGroup> |
diff --git a/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj b/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj index 9bba3d8f..e63eb74c 100644 --- a/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj +++ b/src/test/burn/TestData/TestBA/TestBAWixlib_x64/testbawixlib_x64.wixproj | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | </PropertyGroup> | 8 | </PropertyGroup> |
| 9 | <ItemGroup> | 9 | <ItemGroup> |
| 10 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x64" BindName="net2x64" /> | 10 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net35\win-x64" BindName="net2x64" /> |
| 11 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net45\win-x64" BindName="net4x64" /> | 11 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net472\win-x64" BindName="net4x64" /> |
| 12 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x64" BindName="dnc5x64" /> | 12 | <BindInputPaths Include="$(BaseOutputPath)$(Configuration)\net5.0-windows\win-x64" BindName="dnc5x64" /> |
| 13 | </ItemGroup> | 13 | </ItemGroup> |
| 14 | <ItemGroup> | 14 | <ItemGroup> |
diff --git a/src/test/burn/WixToolset.WixBA/WixToolset.WixBA.csproj b/src/test/burn/WixToolset.WixBA/WixToolset.WixBA.csproj index 2a2a0073..b872457c 100644 --- a/src/test/burn/WixToolset.WixBA/WixToolset.WixBA.csproj +++ b/src/test/burn/WixToolset.WixBA/WixToolset.WixBA.csproj | |||
| @@ -2,7 +2,7 @@ | |||
| 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 Sdk="Microsoft.NET.Sdk"> | 3 | <Project Sdk="Microsoft.NET.Sdk"> |
| 4 | <PropertyGroup> | 4 | <PropertyGroup> |
| 5 | <TargetFrameworks>net45;net5.0-windows</TargetFrameworks> | 5 | <TargetFrameworks>net472;net5.0-windows</TargetFrameworks> |
| 6 | <AssemblyName>WixToolset.WixBA</AssemblyName> | 6 | <AssemblyName>WixToolset.WixBA</AssemblyName> |
| 7 | <RootNamespace>WixToolset.WixBA</RootNamespace> | 7 | <RootNamespace>WixToolset.WixBA</RootNamespace> |
| 8 | <DebugType>embedded</DebugType> | 8 | <DebugType>embedded</DebugType> |
| @@ -19,14 +19,14 @@ | |||
| 19 | <!-- https://stackoverflow.com/questions/58844785/how-to-reference-system-windows-forms-in-net-core-3-0-for-wpf-apps --> | 19 | <!-- https://stackoverflow.com/questions/58844785/how-to-reference-system-windows-forms-in-net-core-3-0-for-wpf-apps --> |
| 20 | <UseWindowsForms>true</UseWindowsForms> | 20 | <UseWindowsForms>true</UseWindowsForms> |
| 21 | </PropertyGroup> | 21 | </PropertyGroup> |
| 22 | <ItemGroup Condition="'$(TargetFramework)'=='net45'"> | 22 | <ItemGroup Condition=" '$(TargetFrameworkIdentifier)'=='.NETFramework' "> |
| 23 | <Content Include="WixBA.BootstrapperCore.config" CopyToOutputDirectory="PreserveNewest" /> | 23 | <Content Include="WixBA.BootstrapperCore.config" CopyToOutputDirectory="PreserveNewest" /> |
| 24 | </ItemGroup> | 24 | </ItemGroup> |
| 25 | <ItemGroup> | 25 | <ItemGroup> |
| 26 | <Resource Include="Resources\logo-white-hollow.png" /> | 26 | <Resource Include="Resources\logo-white-hollow.png" /> |
| 27 | <Resource Include="Resources\logo-black-hollow.png" /> | 27 | <Resource Include="Resources\logo-black-hollow.png" /> |
| 28 | </ItemGroup> | 28 | </ItemGroup> |
| 29 | <ItemGroup Condition="'$(TargetFramework)'=='net45'"> | 29 | <ItemGroup Condition=" '$(TargetFrameworkIdentifier)'=='.NETFramework' "> |
| 30 | <Reference Include="PresentationCore" /> | 30 | <Reference Include="PresentationCore" /> |
| 31 | <Reference Include="PresentationFramework" /> | 31 | <Reference Include="PresentationFramework" /> |
| 32 | <Reference Include="System.Windows.Forms" /> | 32 | <Reference Include="System.Windows.Forms" /> |
| @@ -37,4 +37,8 @@ | |||
| 37 | <ItemGroup> | 37 | <ItemGroup> |
| 38 | <PackageReference Include="WixToolset.Mba.Core" /> | 38 | <PackageReference Include="WixToolset.Mba.Core" /> |
| 39 | </ItemGroup> | 39 | </ItemGroup> |
| 40 | |||
| 41 | <ItemGroup Condition=" '$(TargetFrameworkIdentifier)'!='.NETFramework' "> | ||
| 42 | <PackageReference Include="WixToolset.Dnc.HostGenerator" /> | ||
| 43 | </ItemGroup> | ||
| 40 | </Project> \ No newline at end of file | 44 | </Project> \ No newline at end of file |
diff --git a/src/test/burn/WixToolset.WixBA/WixToolset.WixBA_x64.csproj b/src/test/burn/WixToolset.WixBA/WixToolset.WixBA_x64.csproj index bc1aa7bf..672f7a62 100644 --- a/src/test/burn/WixToolset.WixBA/WixToolset.WixBA_x64.csproj +++ b/src/test/burn/WixToolset.WixBA/WixToolset.WixBA_x64.csproj | |||
| @@ -2,7 +2,7 @@ | |||
| 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 Sdk="Microsoft.NET.Sdk"> | 3 | <Project Sdk="Microsoft.NET.Sdk"> |
| 4 | <PropertyGroup> | 4 | <PropertyGroup> |
| 5 | <TargetFrameworks>net45;net5.0-windows</TargetFrameworks> | 5 | <TargetFrameworks>net472;net5.0-windows</TargetFrameworks> |
| 6 | <AssemblyName>WixToolset.WixBA</AssemblyName> | 6 | <AssemblyName>WixToolset.WixBA</AssemblyName> |
| 7 | <RootNamespace>WixToolset.WixBA</RootNamespace> | 7 | <RootNamespace>WixToolset.WixBA</RootNamespace> |
| 8 | <DebugType>embedded</DebugType> | 8 | <DebugType>embedded</DebugType> |
| @@ -19,14 +19,14 @@ | |||
| 19 | <!-- https://stackoverflow.com/questions/58844785/how-to-reference-system-windows-forms-in-net-core-3-0-for-wpf-apps --> | 19 | <!-- https://stackoverflow.com/questions/58844785/how-to-reference-system-windows-forms-in-net-core-3-0-for-wpf-apps --> |
| 20 | <UseWindowsForms>true</UseWindowsForms> | 20 | <UseWindowsForms>true</UseWindowsForms> |
| 21 | </PropertyGroup> | 21 | </PropertyGroup> |
| 22 | <ItemGroup Condition="'$(TargetFramework)'=='net45'"> | 22 | <ItemGroup Condition=" '$(TargetFrameworkIdentifier)'=='.NETFramework' "> |
| 23 | <Content Include="WixBA.BootstrapperCore.config" CopyToOutputDirectory="PreserveNewest" /> | 23 | <Content Include="WixBA.BootstrapperCore.config" CopyToOutputDirectory="PreserveNewest" /> |
| 24 | </ItemGroup> | 24 | </ItemGroup> |
| 25 | <ItemGroup> | 25 | <ItemGroup> |
| 26 | <Resource Include="Resources\logo-white-hollow.png" /> | 26 | <Resource Include="Resources\logo-white-hollow.png" /> |
| 27 | <Resource Include="Resources\logo-black-hollow.png" /> | 27 | <Resource Include="Resources\logo-black-hollow.png" /> |
| 28 | </ItemGroup> | 28 | </ItemGroup> |
| 29 | <ItemGroup Condition="'$(TargetFramework)'=='net45'"> | 29 | <ItemGroup Condition=" '$(TargetFrameworkIdentifier)'=='.NETFramework' "> |
| 30 | <Reference Include="PresentationCore" /> | 30 | <Reference Include="PresentationCore" /> |
| 31 | <Reference Include="PresentationFramework" /> | 31 | <Reference Include="PresentationFramework" /> |
| 32 | <Reference Include="System.Windows.Forms" /> | 32 | <Reference Include="System.Windows.Forms" /> |
| @@ -37,4 +37,8 @@ | |||
| 37 | <ItemGroup> | 37 | <ItemGroup> |
| 38 | <PackageReference Include="WixToolset.Mba.Core" /> | 38 | <PackageReference Include="WixToolset.Mba.Core" /> |
| 39 | </ItemGroup> | 39 | </ItemGroup> |
| 40 | |||
| 41 | <ItemGroup Condition=" '$(TargetFrameworkIdentifier)'!='.NETFramework' "> | ||
| 42 | <PackageReference Include="WixToolset.Dnc.HostGenerator" /> | ||
| 43 | </ItemGroup> | ||
| 40 | </Project> \ No newline at end of file | 44 | </Project> \ No newline at end of file |
