Create a new console application·
Open NuGet powershell console
· Install-package jquery -version 1.4.1
· Open NuGet settings and disable NuGet official feed
· Update-package jquery -Reinstall
Expected
It shows error that cannot find jquery 1.4.1 package and does NOT uninstall the existing package
Actual
It uninstalls the existing package and then says cannot find the package
It's not intuitive that "update" operations do not happen in a single transaction. Meaning if it cannot get the same package from any of the sources, it should not leave me in a broken state by uninstalling the existing package
Open NuGet powershell console
· Install-package jquery -version 1.4.1
· Open NuGet settings and disable NuGet official feed
· Update-package jquery -Reinstall
Expected
It shows error that cannot find jquery 1.4.1 package and does NOT uninstall the existing package
Actual
It uninstalls the existing package and then says cannot find the package
It's not intuitive that "update" operations do not happen in a single transaction. Meaning if it cannot get the same package from any of the sources, it should not leave me in a broken state by uninstalling the existing package