Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
get rid of heat
  • Loading branch information
lahma committed Jul 25, 2025
commit f58814c386f7155f7342ab2b07f826556278771e
1 change: 0 additions & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.3" />
<PackageVersion Include="WixToolset.Util.wixext" Version="6.0.1" />
<PackageVersion Include="WixToolset.UI.wixext" Version="6.0.1" />
<PackageVersion Include="WixToolset.Heat" Version="6.0.1" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' OR '$(TargetFramework)' == 'netstandard2.0' ">
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="2.3.0" />
Expand Down
31 changes: 10 additions & 21 deletions src/NSwagStudio.Installer/NSwagStudio.Installer.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

<PropertyGroup>
<OutputName>NSwagStudio</OutputName>
</PropertyGroup>

<PropertyGroup>
<SuppressIces>ICE38;ICE43;ICE57;ICE61;ICE69</SuppressIces>
<NoWarn>$(NoWarn);HEAT5149;HEAT5151</NoWarn>
<OutputPath>..\..\artifacts\bin\NSwagStudio.Installer\$(Configuration)\</OutputPath>
<IntermediateOutputPath>..\..\artifacts\obj\NSwagStudio.Installer\$(Configuration)\</IntermediateOutputPath>
<DefineConstants>SourcePath=..\..\artifacts\bin\NSwagStudio\$(Configuration)</DefineConstants>
</PropertyGroup>

<ItemGroup>
Expand All @@ -25,24 +23,15 @@
<ItemGroup>
<PackageReference Include="WixToolset.Util.wixext" />
<PackageReference Include="WixToolset.UI.wixext" />
<PackageReference Include="WixToolset.Heat" />
</ItemGroup>

<Target Name="Heat" AfterTargets="PreBuildEvent">
<PropertyGroup>
<DefineConstants>SourcePath=..\..\artifacts\bin\NSwagStudio\$(Configuration)</DefineConstants>
</PropertyGroup>
<HeatDirectory
DirectoryRefId="RootDirectory"
VerboseOutput="true"
AutogenerateGuids="true"
GenerateGuidsNow="true"
SuppressRootDirectory="true"
OutputFile="Generated.wxs"
PreprocessorVariable="var.SourcePath"
Directory="..\..\artifacts\bin\NSwagStudio\$(Configuration)"
ComponentGroupName="SourceComponentGroup"
ToolPath="$(WixToolPath)" />
</Target>
<ItemGroup>
<HarvestDirectory Include="..\..\artifacts\bin\NSwagStudio\$(Configuration)">
<DirectoryRefId>RootDirectory</DirectoryRefId>
<SuppressRootDirectory>true</SuppressRootDirectory>
<ComponentGroupName>SourceComponentGroup</ComponentGroupName>
<PreprocessorVariable>var.SourcePath</PreprocessorVariable>
</HarvestDirectory>
</ItemGroup>

</Project>
</Project>