<Project DefaultTargets="Build">
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
- <ItemGroup>
- <!-- identity project, runtime specific projects are included through netcoreapp.rids.props -->
- <Project Include="$(MSBuildProjectName).pkgproj" Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'" />
+ <ItemGroup Condition="'$(BuildAllConfigurations)' == 'true'">
+ <!-- identity project built in AllConfigurations leg, runtime specific projects are included through netcoreapp.rids.props -->
+ <Project Include="$(MSBuildProjectName).pkgproj" />
</ItemGroup>
<Import Project="$([MSBuild]::GetPathOfFileAbove(dir.traversal.targets))" />