What controls the Specific Version property of a reference in a NuGet package? -
we have many libraries build in ci, deploy prereleases every time build. other projects depend on these , automatically updates them during build.
but references set specific version = true, means increasing version number on these dlls causes build fail.
how can control setting of property?
you cannot change nuget's behaviour without changing source code. nuget sets specificversion true when adding non-gac assembly within visual studio.
you need run sort of post build script fix references or manually change them.
not sure how updating projects in ci server. if use nuget.exe update project.csproj
update latest nuget package , not set specificversion true. command line application not support powershell scripts or content files, references updated. assumes there update available otherwise reference not modified.
Comments
Post a Comment