When I start Visual Studio 2015 in safe mode (as with devenv.exe /SafeMode), the NCrunch Configuration window (which I have usually open), looks as follows:
It is actually a text box and the error is:
Quote:An exception was encountered while constructing the content of this frame. This information is also logged in "R:\AppData\Microsoft\VisualStudio\14.0\ActivityLog.xml".
Exception details:
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()
Now, I don't expect NCRunch to work in any way (in fact, I think it should be unloade?) when running Safe Mode, but certainly, the error itself is unnecessary and/or ought to be suppressed?
(I am not trying to solve the error, when running in safe mode, I actually expect extensions not to be loaded, but I notice that quite a few extensions, including NCrunch, PostSharp, .NET Reflector, ResX, get loaded anyway, albeit with odd behaviors, but that is besides the point here)