Skip to content

ReSharper integration

eskitek edited this page Oct 31, 2012 · 2 revisions

OpenWrap comes with a ReSharper plugin that lets ReSharper know about your project's wraps. If you use ReSharper, you'll want to make sure the plugin is enabled. Otherwise, ReSharper won't know anything about the code in your project's wraps. Your project will still compile, but you'll see lots of erroneous ReSharper warnings.

The OpenWrap ReSharper plugin can be enabled in Visual Studio via the ReSharper Options dialog: ReSharper > Options > Plugins.

Tick "OpenWrap ReSharper Integration" to enable the plugin. If this plugin isn't listed, keep reading.

It is important to note that integration with different versions of ReSharper is supported by different versions of OpenWrap:

  • OpenWrap 1.0.x provides support for ReSharper 4.5 - 5.1.
  • OpenWrap 2.0.0 - 2.0.2 provide support for ReSharper 4.5 - 6.0 (currently available in the latest beta).
  • OpenWrap 2.0.3 provides support for ReSharper 4.5 - 6.1 (currently available in the latest build).

If you don't see the "OpenWrap ReSharper Integration" plugin in the Visual Studio ReSharper Options dialog, you may need to update your version of OpenWrap per the list above.

Once you've updated your project to use a version of OpenWrap that provides support for your version of ReSharper, you'll need to close, re-open, and build your project, then enable the "OpenWrap ReSharper Integration" plugin per the instructions above.

If you have followed these instructions and are still seeing erroneous ReSharper warnings (red code, etc), please have a look at this FAQ.