I have a solution with several projects. Each project has its own nuspec file, and some projects link to each other.
When I create a new package, calling
nuget pack MyLibrary.csproj -IncludeReferencedProject
nuget is smart enough to add any related projects as dependencies, rather than result in generated binaries, but it always installs the dependency version
version="1.2.3.4"
which is interpreted as 1.2.3.4 or higher
I want to say nuget to install the version
version="[1.2.3.4]"
so the dependencies are always accurate
Can I do this without having to manually update and maintain the dependencies in the nuspec file for each project?
source share