Nuget update when package was installed with ExcludedVersion -


i wondering whether possible update package installed /x flag? me seems not possible right now. mean updating making packages.config change greater version of given package (done nuget.exe update solutionname.sln)

what flow of update operation? inside nupgk of installed package? or search version within directory name? when version in directory name missing there problem version comparison?

i need precise explanation.

note: use nuget 2.8.50224.430

i created identical thread on nuget codeplex here: https://nuget.codeplex.com/discussions/543299

i think managed answer own question. while waiting response decided @ nuget.exe sources , find how version installed package gathered.

what realized:
1. version taken directly packages.config.
2. nuget update command looks packagename.packageversion.nupkg in packages directory.
3. when wanted file not exists, update cannot completed (it aborted).

i tried change code use directory , package name without version. possible better request flag purpose.

for curious: pathresolver created in updatecommand.cs

var pathresolver = new defaultpackagepathresolver(sharedrepositoryfilesystem);

can pass false second argument omit version in path concatenation.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -