Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Merge pull request #36550 from ahsonkhan/S.Memory.Packaging
Browse files Browse the repository at this point in the history
[release/2.1] Add SuppressMetaPackage to break circular dependency during System.Memory package restore
  • Loading branch information
wtgodbe authored Apr 12, 2019
2 parents 876e51e + 70a151f commit 723b1ba
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 3 deletions.
3 changes: 3 additions & 0 deletions external/harvestPackages/harvestPackages.props
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@
<PackageReference Include="System.Json">
<Version>4.5.0</Version>
</PackageReference>
<PackageReference Include="System.Memory">
<Version>4.5.2</Version>
</PackageReference>
<PackageReference Include="System.Net.Http.WinHttpHandler">
<Version>4.5.3</Version>
</PackageReference>
Expand Down
3 changes: 2 additions & 1 deletion pkg/Microsoft.Private.PackageBaseline/packageIndex.json
Original file line number Diff line number Diff line change
Expand Up @@ -2499,7 +2499,8 @@
},
"AssemblyVersionInPackageVersion": {
"4.0.0.0": "4.4.0",
"4.0.1.0": "4.5.1"
"4.0.1.0": "4.5.1",
"4.0.1.1": "4.5.3"
}
},
"System.Messaging": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<!-- issue https://github.com/dotnet/corefx/issues/28551 -->
<PackageReference Include="NETStandard.Library" Version="1.6.1" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/System.Memory/dir.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\dir.props" />
<PropertyGroup>
<AssemblyVersion>4.0.1.0</AssemblyVersion>
<AssemblyVersion>4.0.1.1</AssemblyVersion>
<PackageVersion>4.5.1</PackageVersion>
<!-- System.Memory has forwarded types into the runtime on netcoreapp/uap
It must win over assemblies versioned at 4.0.* -->
Expand Down
6 changes: 5 additions & 1 deletion src/System.Memory/pkg/System.Memory.pkgproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
<PackageVersion>4.5.2</PackageVersion>
<PackageVersion>4.5.3</PackageVersion>
</PropertyGroup>
<ItemGroup>
<PackageIndex Include="$(ProjectDir)\pkg\baseline\packageBaseline.1.1.json" />
<ProjectReference Include="..\ref\System.Memory.csproj">
<SupportedFramework>net45;netcore45;wpa81;netcoreapp1.0;$(AllXamarinFrameworks)</SupportedFramework>
</ProjectReference>
<ProjectReference Include="..\src\System.Memory.csproj" />

<!-- this package is part of the implementation closure of NETStandard.Library
therefore it cannot reference NETStandard.Library -->
<SuppressMetaPackage Include="NETStandard.Library" />
<InboxOnTargetFramework Include="netcoreapp2.1" />
</ItemGroup>
<PropertyGroup>
Expand Down
3 changes: 3 additions & 0 deletions src/packages.builds
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
<AdditionalProperties>$(AdditionalProperties)</AdditionalProperties>
</Project>
<!-- add specific builds / pkgproj's here to include in servicing builds -->
<Project Include="$(MSBuildThisFileDirectory)System.Memory\pkg\System.Memory.pkgproj">
<AdditionalProperties>$(AdditionalProperties)</AdditionalProperties>
</Project>
</ItemGroup>

<!-- Need the PackageIndexFile file property from baseline.props -->
Expand Down

0 comments on commit 723b1ba

Please sign in to comment.