Pack NuGet packages from nuspec file instead of proj file
I have a C# project with util classes. The .cs files are included as content in the NuGet package, not as a library. When I run the nuget pack command on the nuspec file it works as expected but apparently when the pack command is used on a proj file NuGet will include the output (the dll) to the library folder in the package. As far as I can see AppVeyor use the proj file to pack. Some other build servers have a setting to prefer nuspec before proj files. Is that possible in AppVeyor? Thanks
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 05 Dec, 2014 07:49 PM
Hi Robin,
You can just add your custom NuGet packaging command to "after build" phase (on UI or in YAML).
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:50 AM.