Fails to add packages with NuGet 2.2 #9

Closed
citizenmatt opened this Issue Jan 17, 2013 · 6 comments

Projects

None yet

2 participants

@citizenmatt
Member

Everything worked nicely with 2.1, now fails with 2.2.

Exception states it can't find the nuspec file because it repeats the package name in the path.

@citizenmatt citizenmatt was assigned Jan 17, 2013
@NikGovorov

Hey,

Not sure that it's related issue, but with nuget 2.2 installed, plugin does not install package(at least does not add package to packages.config) and points to bin folder.

@citizenmatt
Member

Yep, it's exactly the same problem. I've got a fix ready, but I want to make a change so it will no longer fail silently.

@NikGovorov

Thanks, looking forward to try new version.

@citizenmatt citizenmatt added a commit that closed this issue Jan 18, 2013
@citizenmatt citizenmatt Now works with NuGet 2.2
Fixes #9. NuGet changed the way it looks for packages in a repository in 2.2. It now uses IPackageLookup, rather than just finding any packages in the repo's directory. It was previously finding the package by luck - we were passing in the package directory, not the repo directory.
fc7c900
@NikGovorov

Just tested. Works perfect. Thanks.

@citizenmatt
Member

Brilliant. Thanks for testing. Will get a proper binary release uploaded once I know where it's going to live!

@citizenmatt
Member

All release. See the link on the release notes: https://github.com/JetBrains/resharper-nuget/wiki/Release-Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment