Skip to content

Commit

Permalink
Explicitly enabling ReSharper plugin on loading (see OpenWrap#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdginste committed Jun 29, 2012
1 parent 9161cae commit 35dba4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/OpenWrap.ReSharper.450/PluginManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ void StartDetection()
_selfPlugin = new ResharperPlugin(_lifetimeDefinition.Lifetime, new[] { new resharper::JetBrains.Util.FileSystemPath(asm.Location) }, null, null, null);

_pluginsDirectory.Plugins.Add(_selfPlugin);

_selfPlugin.IsEnabled.SetValue(true);
#else
var id = "ReSharper OpenWrap Integration";
_selfPlugin = new ResharperPlugin(id, new[] { asm });
Expand Down

0 comments on commit 35dba4e

Please sign in to comment.