Created
March 13, 2013 14:07
-
-
Save chrisortman/5152438 to your computer and use it in GitHub Desktop.
Example of screwy nuget behavior
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(-> means references) | |
WebProject -> ServiceStack 3.9.32 -> ServiceStack.Text 3.9.32 | |
Using 'Manage nuget packages for solution' I add ServiceStack to my test project and wind up with | |
TestProject -> ServiceStack 3.9.32 -> ServiceStack.Text 3.9.38 | |
#WTF!!! |
Thanks for the ideas Maarten. I forgot about R# adding support for this.
I usually use the powershell cmdlets, but instead of specifying the veresion i just use -source .\Packages which pretty much gives me the same thing (i think)
I'm more complaining today because I'd like to see this fixed so as to remove 1 more objection some people will have to using it.
Does it make a difference if you go to 'Manage nuget packages for solution' and add ServiceStack from the 'Installed packages' section compared to adding from the 'Online' section ?
@jeffgabhart good idea, didn't try that
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use the powershell cmdlets, they allow you to specify the version explicitly. Also, if you;'re using ReSharper checkout http://blogs.jetbrains.com/dotnet/2012/11/add-packages-not-references-a-nuget-plugin-for-resharper/