Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ionide/FsAutoComplete
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 54449c0ef0280b49a1a508962fe9f9d59a6c1bd3
Choose a base ref
..
head repository: ionide/FsAutoComplete
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 607bfcc6784e1ece75cf4db4f1ad5ed110f02267
Choose a head ref
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/FsAutoComplete/FsAutoComplete.fsproj
12 changes: 12 additions & 0 deletions src/FsAutoComplete/FsAutoComplete.fsproj
Original file line number Diff line number Diff line change
@@ -87,15 +87,27 @@

<Target Name="BuildAllStandloneApplications">
<ItemGroup>
<!-- Make MSBuild Items out of the RIDs so we can batch across them -->
<_RIDS Include="$(RuntimeIdentifiers)" />
<!-- Make MSBuild Items out of the TFMs so we can batch across them. Create NUM_RIDS items
per-TFM because we want to build each TFM for all supported platforms. -->
<_TFMS
Include="$(TargetFrameworks)"
RID="%(_RIDS.Identity)" />
<!-- Turn the _TFMS items into requests to build this project (fsautocomplete.fsproj) with
different parameters. This pattern is often used to to parallel builds of the same project in
MSBuild logic. -->
<_RIDSpecificFSACBuild
Include="$(MSBuildThisFile)"
AdditionalProperties="RuntimeIdentifier=%(_TFMS.RID);TargetFramework=%(_TFMS.Identity)" />
</ItemGroup>

<!-- Ask MSBuild to build all of the requests we just made. The MSBuild Task recognizes the
AdditionalProperties metadata and will apply that to each specific build, we can specify the things
that are common to all of the builds here. Unsetting RuntimeIdentifiers and TargetFrameworks
ensures that the SDK targets detect that these are single-RID/single-TFM builds accurately, and
since we're pretty certain there are no data dependencies here we can have the builds operate in
parallel. -->
<MSBuild
Projects="@(_RIDSpecificFSACBuild)"
Targets="Publish"