Skip to content

Exclude Publish="false" package assets from build output, don't infer Publish="false" from PrivateAssets="all"#3311

Closed
dsplaisted wants to merge 1 commit intodotnet:masterfrom
dsplaisted:build-publish-tweaks
Closed

Exclude Publish="false" package assets from build output, don't infer Publish="false" from PrivateAssets="all"#3311
dsplaisted wants to merge 1 commit intodotnet:masterfrom
dsplaisted:build-publish-tweaks

Conversation

@dsplaisted
Copy link
Member

@dsplaisted dsplaisted marked this pull request as ready for review June 7, 2019 18:57
@dsplaisted dsplaisted requested review from a team, nguerrera and peterhuene June 7, 2019 18:57
var platformLibrary = _runtimeTarget.GetLibrary(_task.PlatformLibraryName);
if (platformLibrary != null)
// Exclude the platform library
if (_task.PlatformLibraryName != null)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this check redundant?

Copy link
Contributor

@peterhuene peterhuene left a comment

Choose a reason for hiding this comment

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

Just the minor comment above. So happy about this change!

@peterhuene peterhuene added this to the 3.0.1xx milestone Jun 10, 2019
@dsplaisted
Copy link
Member Author

We're not going to be able to this in this way for now. There are EntityFramework "design" packages which are supposed to be used with PrivateAssets="all", where the assets are supposed to go in the build output folder but not the publish output.

@dsplaisted dsplaisted closed this Jun 10, 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.

2 participants