Skip to content

Commit

Permalink
slightly better build outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
baronfel committed Mar 31, 2024
1 parent fe84588 commit 54449c0
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/FsAutoComplete/FsAutoComplete.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<IsPackable>true</IsPackable>
<PackAsTool>true</PackAsTool>
<PublishTrimmed>true</PublishTrimmed>
<PublishSingleFile>true</PublishSingleFile>
<PublishSelfContained>true</PublishSelfContained>
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup>
<None
Expand Down Expand Up @@ -84,16 +88,19 @@
<Target Name="BuildAllStandloneApplications">
<ItemGroup>
<_RIDS Include="$(RuntimeIdentifiers)" />
<_TFMS
Include="$(TargetFrameworks)"
RID="%(_RIDS.Identity)" />
<_RIDSpecificFSACBuild
Include="$(MSBuildThisFile)"
AdditionalProperties="RuntimeIdentifier=%(_RIDS.Identity)" />
AdditionalProperties="RuntimeIdentifier=%(_TFMS.RID);TargetFramework=%(_TFMS.Identity)" />
</ItemGroup>

<MSBuild
Projects="@(_RIDSpecificFSACBuild)"
Targets="Publish"
Properties="Configuration=Release;PublishSingleFile=true;PublishTrimmed=true;"
RemoveProperties="RuntimeIdentifiers"
Properties="Configuration=Release;SelfContained=true"
RemoveProperties="RuntimeIdentifiers;TargetFrameworks"
BuildInParallel="true" />
</Target>

Expand Down

0 comments on commit 54449c0

Please sign in to comment.