Skip to content

Conversation

@dsplaisted
Copy link
Member

@dsplaisted dsplaisted commented Feb 8, 2019

This supports the ".Ref" targeting packs for .NET Core and ASP.NET Core, as well as .NET Standard 2.1.

The core-sdk repo needs to be updated to include these in the KnownFrameworkReference items in the bundled versions file. However, we need to check this logic into the SDK (and flow it into core-sdk) first, because we changed the layout for the .NET Core targeting pack and things would fail if we bundled a version of the targeting pack that the SDK code couldn't understand. (Note that the layout in this PR isn't necessarily final either.)

There's temporary logic in this PR to update the KnownFrameworkReference items to refer to the new targeting packs for testing purposes. Once we do the round trip through core-sdk, we can remove that logic.

Also note that this PR currently adds a KnownFrameworkReference for NETStandard.Library, but that is checked in to core-sdk already (since it's for a new TargetFramework), so once we have a build from core-sdk with the changes from dotnet/installer#477, I will update this PR to remove that workaround.

@dsplaisted dsplaisted added the WIP label Feb 8, 2019
@dsplaisted dsplaisted force-pushed the use-targeting-pack branch 2 times, most recently from b5a3d10 to 781ce9a Compare February 8, 2019 23:30
@dsplaisted dsplaisted changed the base branch from master to release/3.0.1xx February 10, 2019 16:57
@dsplaisted dsplaisted force-pushed the use-targeting-pack branch 2 times, most recently from 66d1a7f to f5f53a7 Compare February 13, 2019 00:46
@dsplaisted dsplaisted changed the title Use Microsoft.NETCore.App.Ref targeting pack Support ".Ref" targeting packs and .NET Standard 2.1 Feb 13, 2019
@dsplaisted dsplaisted removed the WIP label Feb 13, 2019
@dsplaisted dsplaisted requested review from a team and nguerrera February 13, 2019 03:25
@livarcocc livarcocc added this to the 3.0.1xx milestone Feb 13, 2019
@nguerrera
Copy link
Contributor

I think #2839 will start to be a real issue with the .Ref targeting pack as there won't be dependencies downloaded.

@dsplaisted dsplaisted merged commit bf9e80e into dotnet:release/3.0.1xx Feb 19, 2019
dsplaisted pushed a commit to dsplaisted/sdk that referenced this pull request Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants