How to set up nuget versions for multiple environment.
Guess the nuget versions in your question stands for the package version not the version of nuget.exe
such 3.3, 3.5 , 4.0. If it stands for nuget.exe
version, have no idea why you need to use different nuget.exe
versions for multiple environment.
You could version the packages as you need. A way to cross multiple environments is setting up 3 different NuGet repositories such as:
- Development repository: A file share that all developers have read-only access to. The file share has a space for NuGet packages
and one for the matching NuGet symbol packages. Only the build server
(and the build engineers) have write access to this repository.
- QA repository: Another file share similar to the Development repository.
- Production repository: A private instance of the Klondike NuGet server which serves as the NuGet and symbol server for all NuGet
packages (and their sources) which are allowed to be used in
production builds.
More details please refer this similar question: NuGet Server for multiple enviornments?