Directory.Build.props properties are not considered when determining the 'packability' of a project

Jason Naylor's Avatar

Jason Naylor

24 Jan, 2022 10:19 PM

It appears that properties set in a file are not used in appveyors automatic packaging logic.

Our project which was publishing Nuget packages stopped working when we moved all our common attributes into a file.

  1. Support Staff 1 Posted by Feodor Fitsner on 25 Jan, 2022 12:18 AM

    Feodor Fitsner's Avatar

    Hi Jason,

    Just found an example of project on GitHub using with AppVeyor:

    Hope that helps.

  2. 2 Posted by Jason Naylor on 25 Jan, 2022 02:25 PM

    Jason Naylor's Avatar

    Thank you Feodor, that project appears to be using .nuspec files. Our project does not use those but relies on the .NET Core/Standard path for the automatic packaging:

  3. Support Staff 3 Posted by Feodor Fitsner on 25 Jan, 2022 03:18 PM

    Feodor Fitsner's Avatar

    Then you would need to disable automatic packaging and provide your own dotnet pack command.

  4. 4 Posted by Jason Naylor on 25 Jan, 2022 05:54 PM

    Jason Naylor's Avatar

    Can I request that AppVeyor be enhanced to use the Directory.Build.props correctly so that Automatic packaging can work on a project like ours?

  5. Support Staff 5 Posted by Feodor Fitsner on 26 Jan, 2022 04:39 PM

    Feodor Fitsner's Avatar

    Sure, we'll take a look into that. Thanks for your suggestion!

  6. Feodor Fitsner closed this discussion on 28 Mar, 2022 09:01 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac