diff --git a/Directory.Build.props b/Directory.Build.props index 541ad0417e40d..3347d847da79b 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -134,6 +134,10 @@ <_runtimeOS Condition="$(_runtimeOS.StartsWith('tizen'))">linux <_runtimeOS Condition="'$(PortableBuild)' == 'true'">$(_portableOS) + + <_packageOS Condition="'$(CrossBuild)' == 'true'">$(_hostOS.ToLowerInvariant) + <_packageOS Condition="'$(_packageOS)' == '' and '$(PortableBuild)' == 'true'">$(_portableOS) + <_packageOS Condition="'$(_packageOS)' == ''">$(_runtimeOS) @@ -158,15 +162,43 @@ linux-$(_hostArch) $(_toolRuntimeRID) - <_packageRID Condition="'$(PortableBuild)' == 'true'">$(_portableOS)-$(TargetArchitecture) - <_packageRID Condition="'$(CrossBuild)' == 'true'">$(_hostOS.ToLowerInvariant)-$(TargetArchitecture) - $(_packageRID) - $(_runtimeOS)-$(TargetArchitecture) + $(_packageOS)-$(TargetArchitecture) + + + $(_packageOS)-arm + $(PackageRID) $(PackageRID) $(_portableOS)-$(TargetArchitecture) + + + + + + + + + + + + + + + + + + + + + + + + + + + true true diff --git a/src/coreclr/.nuget/Directory.Build.props b/src/coreclr/.nuget/Directory.Build.props index cff00f49e0e56..456a152bc5ba8 100644 --- a/src/coreclr/.nuget/Directory.Build.props +++ b/src/coreclr/.nuget/Directory.Build.props @@ -1,4 +1,8 @@ + + true + + @@ -34,28 +38,8 @@ true - - windows;OSX;Android;Linux;FreeBSD;NetBSD;illumos;Solaris - ;$(SupportedPackageOSGroups); - - <_isSupportedOSGroup>true - - - <_derivedPackageTargetOSGroup Condition="'$(_derivedPackageTargetOSGroup)' == '' and '$(TargetOS)' != ''">$(TargetOS) - <_derivedPackageTargetOSGroup Condition="'$(_derivedPackageTargetOSGroup)' == ''">Linux - - <_isSupportedOSGroup Condition="!$(SupportedPackageOSGroups.Contains(';$(_derivedPackageTargetOSGroup);'))">false - - - - - - <_packageTargetOSGroup>$(_derivedPackageTargetOSGroup) - <_packageTargetOSGroup Condition="'$(_derivedPackageTargetOSGroup)' == 'Android'">Linux - true $(PackageOutputPath) @@ -66,67 +50,6 @@ true - - - - - - arm - - - arm - - - arm64 - - - arm64 - - - armel - - - armel - - - - - - - - - - - - - - - - - - - - x86 - - - - arm - - - arm64 - - - - - - - amd64 - $(TargetArchitecture) - - - <_project Include="@(BuildRID)"> amd64 diff --git a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj index 4b1fc1af49908..9418b5202206d 100644 --- a/src/coreclr/tools/aot/crossgen2/crossgen2.csproj +++ b/src/coreclr/tools/aot/crossgen2/crossgen2.csproj @@ -4,10 +4,7 @@ true - $(TargetArchitecture) - arm - - $(PackageRID) + $(Crossgen2PackageRID) diff --git a/src/installer/pkg/projects/Directory.Build.props b/src/installer/pkg/projects/Directory.Build.props index e95f6a113e787..9fd428958bf5f 100644 --- a/src/installer/pkg/projects/Directory.Build.props +++ b/src/installer/pkg/projects/Directory.Build.props @@ -1,4 +1,8 @@ + + true + + @@ -64,27 +68,6 @@ $(NetCoreAppCurrent) - - $(MSBuildThisFileDirectory)\netcoreappRIDs.props - - - - - - <_buildingOnRID Include="$(PackageRID)" Condition="'$(BuildOnUnknownPlatforms)' != 'false'"> - $(Platform) - - - - - - true - - - - - - - - - - - - x86 - - - - arm - - - arm64 - - - arm - - - arm64 - - - arm - - - arm64 - - - - - - armel - - - armel - - - diff --git a/src/libraries/pkg/Directory.Build.props b/src/libraries/pkg/Directory.Build.props index d31c32ee6470c..1582bb3d07122 100644 --- a/src/libraries/pkg/Directory.Build.props +++ b/src/libraries/pkg/Directory.Build.props @@ -9,20 +9,6 @@ false - - - - - - - - amd64 - $(TargetArchitecture) - - - diff --git a/src/libraries/pkg/runtime.native.System.IO.Ports/netcoreapp.rids.props b/src/libraries/pkg/runtime.native.System.IO.Ports/netcoreapp.rids.props deleted file mode 100644 index c5cf15fa7356c..0000000000000 --- a/src/libraries/pkg/runtime.native.System.IO.Ports/netcoreapp.rids.props +++ /dev/null @@ -1,12 +0,0 @@ - - - - arm - - - arm64 - - - - - diff --git a/src/libraries/pkg/runtime.native.System.IO.Ports/runtime.native.System.IO.Ports.pkgproj b/src/libraries/pkg/runtime.native.System.IO.Ports/runtime.native.System.IO.Ports.pkgproj index b7b43e933dfd8..e7efc6be5e61e 100644 --- a/src/libraries/pkg/runtime.native.System.IO.Ports/runtime.native.System.IO.Ports.pkgproj +++ b/src/libraries/pkg/runtime.native.System.IO.Ports/runtime.native.System.IO.Ports.pkgproj @@ -1,4 +1,10 @@  + + true + true + win*;linux-musl* + + true diff --git a/src/libraries/pkg/runtime.native.System.IO.Ports/runtime.native.System.IO.Ports.proj b/src/libraries/pkg/runtime.native.System.IO.Ports/runtime.native.System.IO.Ports.proj index a1ec1ea4bd1c9..a9105834e4fff 100644 --- a/src/libraries/pkg/runtime.native.System.IO.Ports/runtime.native.System.IO.Ports.proj +++ b/src/libraries/pkg/runtime.native.System.IO.Ports/runtime.native.System.IO.Ports.proj @@ -2,7 +2,7 @@ - + diff --git a/src/tests/Common/publishdependency.targets b/src/tests/Common/publishdependency.targets index 596e4573756df..30dbb39cb13a6 100644 --- a/src/tests/Common/publishdependency.targets +++ b/src/tests/Common/publishdependency.targets @@ -5,13 +5,6 @@ - - $(TargetArchitecture) - win7 - win8 - win10 - -