Skip to content

Introduce a new msbuild property to exclude build output for specific tfms during pack task #10396

Closed
NuGet/NuGet.Client
#3810

Description

@Anipik

Nuget currently provides a msbuild called IncludeBuildOutput to disable including the build output for all tfms.
Nuget provides this kind of feature for other targets like _GetFrameworksWithSuppressedDependencies which run during the pack command.
It will enable the scenario where developer wants to exclude a certain kind of build output for a specific tfm.

cc @ViktorHofer @nkolev92 @ericstj @safern

Activity

  1. ViktorHofer commented on Dec 18, 2020

    @ViktorHofer

    Or just respect the existing property in inner builds as well?

  2. Anipik commented on Dec 18, 2020

    @Anipik
    Author

    Or just respect the existing property in inner builds as well?

    yep i thought that as well, just added a new one to just start the discussion. moving the existing property to innerbuilds will be optimal

  3. ViktorHofer commented on Dec 18, 2020

    @ViktorHofer

    Agreed, this is a good way to start a discussion. What confused me is that you already opened a PR with a new property name. The problem with a new property is that even if it will be documented (which it should be), it would cause confusion about the differences between the existing and the new one.

  4. nkolev92 commented on Dec 21, 2020

    @nkolev92
    Member

    I think reusing the existing property is better than the new one.
    Thinking through it, I don't think there should be any concerns with compat with that either.

  5. nkolev92 commented on Dec 21, 2020

    @nkolev92
    Member

    cc @zkat when they're back :)

  6. Anipik commented on Dec 21, 2020

    @Anipik
    Author

    Updated the pr

  7. erdembayar commented on Jan 25, 2021

    @erdembayar
    Contributor

    @Anipik
    This PR introduced regression bug issue#10462. So we're reverting the merge.
    Can you check what was the problem and rectify it and create new merge PR request?

  8. erdembayar commented on Jan 26, 2021

    @erdembayar
    Contributor

    It seems false alert here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions