From 26409f44d5c2d16e87b587c7e3a24f9adca0cfb8 Mon Sep 17 00:00:00 2001 From: Simon Laroche Date: Fri, 31 Aug 2012 14:35:21 -0400 Subject: [PATCH] Fix default enable openwrap resharper plugin for 6.0 and 61 --- src/OpenWrap.ReSharper.450/PluginManager.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/OpenWrap.ReSharper.450/PluginManager.cs b/src/OpenWrap.ReSharper.450/PluginManager.cs index ae6f7bc9..70d2ab24 100644 --- a/src/OpenWrap.ReSharper.450/PluginManager.cs +++ b/src/OpenWrap.ReSharper.450/PluginManager.cs @@ -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);