Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae227d5

Browse files
authored
Fix condition for building runtime.native.System.IO.Ports (dotnet#34744)
1 parent 3cda531 commit ae227d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libraries/pkg/runtime.native.System.IO.Ports/runtime.native.System.IO.Ports.builds

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project DefaultTargets="Build">
22
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
33

4-
<ItemGroup>
5-
<!-- identity project, runtime specific projects are included through netcoreapp.rids.props -->
6-
<Project Include="$(MSBuildProjectName).pkgproj" Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'" />
4+
<ItemGroup Condition="'$(BuildAllConfigurations)' == 'true'">
5+
<!-- identity project built in AllConfigurations leg, runtime specific projects are included through netcoreapp.rids.props -->
6+
<Project Include="$(MSBuildProjectName).pkgproj" />
77
</ItemGroup>
88

99
<Import Project="$([MSBuild]::GetPathOfFileAbove(dir.traversal.targets))" />

0 commit comments

Comments
 (0)