Only target all frameworks in Release
Sean Hall committed
Aug 17, 2020 at 15:11 UTC
ce763a840147a75876136f18b46bca5245078da3
3 files changed
+6
-3
src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj
+2
-1
@@ -3,7 +3,8 @@
3
4
<Project Sdk="Microsoft.NET.Sdk">
5
<PropertyGroup>
6
- <TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks>
6
+ <TargetFrameworks>netcoreapp2.1</TargetFrameworks>
7
+ <TargetFrameworks Condition=" '$(Configuration)'=='Release' ">$(TargetFrameworks);net461</TargetFrameworks>
8
<Description></Description>
9
<Title>WiX Toolset MSBuild Tasks</Title>
10
<DebugType>embedded</DebugType>
src/heat/heat.csproj
+2
-1
@@ -3,7 +3,8 @@
3
4
<Project Sdk="Microsoft.NET.Sdk">
5
<PropertyGroup>
6
- <TargetFrameworks>netcoreapp2.1;net461;net472</TargetFrameworks>
6
+ <TargetFrameworks>netcoreapp2.1</TargetFrameworks>
7
+ <TargetFrameworks Condition=" '$(Configuration)'=='Release' ">$(TargetFrameworks);net461</TargetFrameworks>
8
<OutputType>Exe</OutputType>
9
<Description>Harvester</Description>
10
<Title>WiX Harvester</Title>
src/wix/wix.csproj
+2
-1
@@ -3,7 +3,8 @@
3
4
<Project Sdk="Microsoft.NET.Sdk">
5
<PropertyGroup>
6
- <TargetFrameworks>netcoreapp2.1;net461;net472</TargetFrameworks>
6
+ <TargetFrameworks>netcoreapp2.1</TargetFrameworks>
7
+ <TargetFrameworks Condition=" '$(Configuration)'=='Release' ">$(TargetFrameworks);net461</TargetFrameworks>
8
<OutputType>Exe</OutputType>
9
<Description>Compiler</Description>
10
<Title>WiX Toolset Compiler</Title>