Where has nuget support in Resharper 9 gone?
Asked Answered
T

2

7

I recently updated Resharper to version 9.0. Now I noticed that adding references by Resharper context menu does no longer update the packages.config file, thus breaking the match between referenced DLLs and installed packages.

For older versions of Resharper, this functionality was provided by a plugin, but the plugin does not seem to support Resharper 9.0. Also, I am unable to find something similar through the Resharper Extension Manager.

What is the correct way to add Nuget packages to packages.config when adding references with Resharper 9.0?

Twilley answered 13/1, 2015 at 16:51 Comment(1)
I've had resharper 9 installed for a while and hadn't noticed until today that it wasn't updating my packages.config file!Bombazine
I
2

NuGet support was shipped as a bundled plug-in in ReSharper 8. Currently this plugin is still not adopted to ReSharper 9, so you have to wait till it will become compatible, sorry.

But it will become compatible relatively soon, hopefully.

Ikeda answered 21/1, 2015 at 13:46 Comment(1)
I also found the respective issue on the plugin project page, see github.com/JetBrains/resharper-nuget/issues/23Twilley
T
1

Update: According to the creator of the plugin, this functionality will be shipped with Resharper 9.1, see this issue for the announcement.

That means with Resharper 9.0 we have to keep the packages.config in sync with the references manually.

Twilley answered 10/2, 2015 at 16:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.