[Bug] UnrealVS.dll crashes Visual on shutdown

Just a heads up. I have come across this issue a couple times where VS will crash while shutting down, and after digging in I found out the UnrealVS.dll is trying to find a tool window in VS during shutdown and that is causing it to crash.

Callstack:

MICROSOFT_VISUALSTUDIO_SHELL_12_0!Microsoft.VisualStudio.Shell.Package.CreateToolWindow
MICROSOFT_VISUALSTUDIO_SHELL_12_0!Microsoft.VisualStudio.Shell.Package.CreateToolWindow
MICROSOFT_VISUALSTUDIO_SHELL_12_0!Microsoft.VisualStudio.Shell.Package.FindToolWindow
UNREALVS!Unknown
UNREALVS!Unknown
MICROSOFT_VISUALSTUDIO_SHELL_12_0!Microsoft.VisualStudio.Shell.InvokableAction.InvokeMethod
MICROSOFT_VISUALSTUDIO_SHELL_12_0!Microsoft.VisualStudio.Shell.InvokableBase.Invoke

Hi Newrad0603,

Which version of the editor and which version of VS are you currently running?

I have VS 2013 Update 2 and I’m believe it’s the latest version of the editor

Hi Newrad0603,

Does this happen from code on a clean project with no additional content or is it specific to one project’s code?

It doesn’t happen on just one project, and I’ve seen it happen on clean projects.

Hi Newrad0603,

Just to clarify, are you using the Express, Professional, or Ultimate version of Visual 2013? If you are using Express, are you using the Express for Windows Desktop?

It’s Ultimate

Hi Newrad0603,

Can you check the version of UnrealVS in Tools->Extensions and Updates… please?

This? 4.0.1-2027741

Hi Newrad0603,

I apologize for the delay in getting back to you. Are you still experiencing this error in 4.6?

Hi Newrad0603,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.
Thank you.