Skip to content

Commit

Permalink
Fix default enable openwrap resharper plugin for 6.0 and 61
Browse files Browse the repository at this point in the history
  • Loading branch information
simonlaroche committed Aug 31, 2012
1 parent 6bc6d92 commit 26409f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/OpenWrap.ReSharper.450/PluginManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,13 @@ 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";
var id = "ReSharper OpenWrap Integration";
_selfPlugin = new ResharperPlugin(id, new[] { asm });


ResharperPluginManager.Instance.Plugins.Add(_selfPlugin);
_selfPlugin.Enabled = true;
resharper::JetBrains.Application.Shell.Instance.LoadAssemblies(id, asm);
Expand Down

0 comments on commit 26409f4

Please sign in to comment.