How to build/publish a .NET solution with a few .NET Standard projects to NuGet?

Pure Krome's Avatar

Pure Krome

29 Nov, 2017 07:04 AM

Hi there,

I have a .NET solution which contains 4 or 5 .NET Standard library projects.

I'm not sure of the suggested way to build, test and publish these projects to NuGet. I tried to see if there's anything in the docs but the only thing I could see was something about assembly version hacking.

Usually I have 1 nuget per github repo ... but this is a bit different.

Can this be done?

  1. 1 Posted by Ilya Finkelshte... on 29 Nov, 2017 09:43 AM

    Ilya Finkelshteyn's Avatar
  2. 2 Posted by Pure Krome on 29 Nov, 2017 09:46 AM

    Pure Krome's Avatar

    Thanks for the reply Ilya.

    So does AV just auto detect stuff then? and it works for multiple projects in a solution?

    the examples usually specify one project file... (like the dotnet pack, example)

  3. 3 Posted by Ilya Finkelshte... on 29 Nov, 2017 09:49 AM

    Ilya Finkelshteyn's Avatar

    Yes, it auto-detects and patch and pack multiple projects in the solution. This is pretty new feature and if you see some issues, let us know.

  4. 4 Posted by Pure Krome on 29 Nov, 2017 10:13 AM

    Pure Krome's Avatar

    Thanks Ilya :) I'll give it a try! Worst case, I'll have to drop down to a custom script.

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:25 AM.

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