Directory.Build.props properties are not considered when determining the 'packability' of a project
It appears that properties set in a Directory.build.props 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 Directory.build.props file.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | 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
Support Staff 1 Posted by Feodor Fitsner on 25 Jan, 2022 12:18 AM
Hi Jason,
Just found an example of project on GitHub using
Directory.build.props
with AppVeyor: https://github.com/gitextensions/GitExtensions.GerritPluginHope that helps.
2 Posted by Jason Naylor on 25 Jan, 2022 02:25 PM
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: https://www.appveyor.com/docs/build-phase/#packaging-net-core-nuget-libraries
Support Staff 3 Posted by Feodor Fitsner on 25 Jan, 2022 03:18 PM
Then you would need to disable automatic packaging and provide your own
dotnet pack
command.4 Posted by Jason Naylor on 25 Jan, 2022 05:54 PM
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?
Support Staff 5 Posted by Feodor Fitsner on 26 Jan, 2022 04:39 PM
Sure, we'll take a look into that. Thanks for your suggestion!
Feodor Fitsner closed this discussion on 28 Mar, 2022 09:01 PM.