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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -