When creating an extension, it must be installed for the first time before it can be tested or debugged. This does introduce a little bit of a chicken and egg scenario - it usually means that the extension must be packaged up and installed before any real development takes place!
The process for creating a new extension is usually:
- Create a new .net class library project.
- Add the
JetBrains.ReSharper.SDKNuGet package to the project.
- Create a
.nuspecfile that describes the plugin extension, and create the
.nupkgfile from it.
- Install the package from a local file source and debug and test.
Once the extension has initially been installed, it generally does not need to be installed again. Simply updating the files in the local ReSharper installation folder will allow ReSharper to run the new version of your plugin. The two exceptions to this are when new files are added to the extension that need to be copied to the installation folder, and also when something changes that requires re-registration with Visual Studio. Typically, this means adding new Actions - these are statically registered as menu commands with Visual Studio.