Вопрос

I wrote a Resharper plugin that seems to only work when users have the Resharper SDK installed. Is there a way to package the required libraries into the plugin dll, so that users just need to drop the dll in their Resharper Plugin directory for Visual Studio to recognize it?

Это было полезно?

Решение

You don't need to package the libraries, only your plugin. If it's not working, check it on the Plugins options page, see if it's loaded. There's a developer log link on the bottom of the page.

Другие советы

This may not be a solution to exactly your problem, but within the "References" virtual folder in the project, if you go to properties to one of the references you have the property of "Copy Local", which will copy the DLL to the output directory. If you do this for all references that come from the SDK, it might work.

I did this for a web server that didn't have asp.net MVC installed, yet my project was.

EDIT: Set the property to true

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top