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