Nuget deployment for multiple project files

calloncampbell's Avatar


09 Jun, 2015 08:55 PM

I have a library which I build for each version of the .NET Framework. Say I have the following projects:
- Lib-net20.csproj
- Lib-net40.csproj
- Lib-net45.csproj

I then have a single Lib.nuspec file.

How can I create the nuget package if my nuspec file is not the same name as my projects?

  1. Support Staff 1 Posted by Feodor Fitsner on 09 Jun, 2015 09:45 PM

    Feodor Fitsner's Avatar

    I see two options here:

    1. Provide your own nuget pack ... commands and then push packages to artifacts.
    2. On "Before build" phase copy "master" Lib.nuspec to root of three projects.
  2. calloncampbell closed this discussion on 14 Oct, 2015 12:46 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