Skip to content
Merged
Changes from all commits
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
Default BuildTargetFramework to NetCoreAppCurrent so that the ref is
generated for the best tfm rather than all.
  • Loading branch information
safern committed Nov 20, 2021
commit 849a8abc4e7055868b455811e939015c5dc9017d
8 changes: 7 additions & 1 deletion eng/outerBuild.targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<Project>
<Target Name="GenerateReferenceAssemblySource" DependsOnTargets="GetProjectWithBestTargetFrameworks">
<Target Name="SetBuildTargetFramework">
<PropertyGroup>
<BuildTargetFramework Condition="'$(BuildTargetFramework)' == ''">$(NetCoreAppCurrent)</BuildTargetFramework>
</PropertyGroup>
</Target>

<Target Name="GenerateReferenceAssemblySource" DependsOnTargets="SetBuildTargetFramework;GetProjectWithBestTargetFrameworks">
<MSBuild Projects="@(InnerBuildProjectsWithBestTargetFramework)"
Targets="GenerateReferenceAssemblySource"
BuildInParallel="$(BuildInParallel)">
Expand Down