I have been getting a fatal error when starting Visual Studio 2017.1 with NCrunch installed. It started with 3.6, and I just tried it with 3.7.0.4 and get the same thing.
In addition, NCrunch is not getting completely uninstalled. If I uninstall NCrunch, Studio starts, with a package load error as it is still trying to load parts of NCrunch. The NCrunch menu remains with all menu items, and any previously opened or saved NCrunch windows are opened with empty content.
I have had to resort to using Resharper's Continuous Testing, and I am getting used to it. Please bring me back into the fold!
Thanks,
Patrick
When starting Studio after uninstalling NCrunch, the relevant parts of ActivityLog.xml are:
<entry>
<record>63</record>
<time>2017/04/27 16:41:18.164</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [nCrunch.VSIntegration2010.CrunchPackage, nCrunch.VSIntegration2017, Version=3.6.0.2, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea]</description>
<guid>{14D2CAB3-EE7F-496E-BF5D-C67D2CBDD84D}</guid>
</entry>
<entry>
<record>64</record>
<time>2017/04/27 16:41:18.178</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [nCrunch.VSIntegration2010.CrunchPackage,
nCrunch.VSIntegration2017, Version=3.6.0.2, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea]Source:
'mscorlib' Description: Could not load file or assembly '
file:///C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2017\nCrunch.VSIntegration2017.dll' {MORE REMOVED HERE}
<guid>{14D2CAB3-EE7F-496E-BF5D-C67D2CBDD84D}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo></errorinfo>
</entry>
With NCrunch installed, Studio errors out on load with the following two entries from the Event Log
Faulting application name: devenv.exe, version: 15.0.26403.7, time stamp: 0x58f0354e
Faulting module name: msenv.dll, version: 15.0.26403.7, time stamp: 0x58f03722
Exception code: 0xc0000005
Fault offset: 0x003dd845
Faulting process id: 0x86cc
Faulting application start time: 0x01d2bf744e2622c7
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\devenv.exe
Faulting module path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\msenv.dll
Report Id: a794c1e7-2b67-11e7-ad64-e82aea0089f2
and
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at EnvDTE.FontsAndColorsItems.Item(System.Object)
at Devart.CodeCompare.Vs.VsUtils.BlendWithBackgroundColor(System.String, System.Drawing.Color)
at Devart.CodeCompare.Vs.DiffTagManager.#=qz9KkLSuuadOREhG3Df8U0g==()
at Devart.CodeCompare.Vs.DiffTagManager.#=qtS8t61W0EDlJl6TmU$tkDIqrO_eeG8Hr1KTKH4_JVZw=()
at Devart.CodeCompare.Vs.DiffTagManager.GetDiffTagger(Microsoft.VisualStudio.Text.Editor.ITextView)
at Devart.CodeCompare.Ipc.Vs.DiffTaggerProvider.CreateTagger[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.VisualStudio.Text.Editor.ITextView, Microsoft.VisualStudio.Text.ITextBuffer)
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GatherTaggers(Microsoft.VisualStudio.Text.ITextBuffer)
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<Initialize>b__13_0(Microsoft.VisualStudio.Text.ITextBuffer)
at Microsoft.VisualStudio.Text.Projection.Implementation.BufferGraph.GetTextBuffers(System.Predicate`1<Microsoft.VisualStudio.Text.ITextBuffer>)
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Initialize()
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].EnsureInitialized()
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<.ctor>b__12_0()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)