Skip to content

Re-design "type: platform" for MSBuild. - #299

Merged
srivatsn merged 1 commit into
dotnet:masterfrom
eerhardt:PlatformLib
Oct 19, 2016
Merged

srivatsn merged 1 commit into
dotnet:masterfrom
eerhardt:PlatformLib

Conversation

@eerhardt

Copy link
Copy Markdown
Member

Instead of relying on a library being marked as "type: platform", we now have an MSBuild property that gives the name of the platform library.

By default, .NET Core projects use 'Microsoft.NETCore.App' for the platform library, but users or other nupkgs can set the property, if necessary.

Fix #17

@nguerrera @livarcocc @piotrpMSFT

/cc @dotnet/project-system

Instead of relying on a library being marked as "type: platform", we now have an MSBuild property that gives the name of the platform library.

By default, .NET Core projects use 'Microsoft.NETCore.App' for the platform library, but users or other nupkgs can set the property, if necessary.

Fix #17
ProjectContext projectContext = lockFile.CreateProjectContext(
FrameworkConstants.CommonFrameworks.NetStandard16,
null);
null,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: named parameter for null literal would be nice.

@srivatsn
srivatsn merged commit e703af2 into dotnet:master Oct 19, 2016
sbomer pushed a commit to sbomer/sdk that referenced this pull request Sep 19, 2017
Reverting SelfContained param to unblock VS 2017 RTM
mmitche pushed a commit to mmitche/sdk that referenced this pull request Jun 5, 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.

4 participants