Blog header image

Welcome to our blog. We hope that these pages provide an insight into us, our products and how we develop them. Please feel free to write to us if you have anything to add to any of the posts here.

Current Entries  Archives  RSS

Crash when docking windows in Visual Studio

Monday, February 22, 2021

We've all done it. You prepare a new build, install it, start testing before releasing it and crashes. The immediate thought is always "What have we done...?".

Exactly that happened to us recently when testing a Visual Lint build - all we did was dock a window and then Visual Studio crashed and restarted.


So, what had we done? As it turns out, nothing - the crash was actually caused by a Windows 10 update - and happened irrespective of whether any third party extensions are installed. KB4598301 is reportedly the cause, though others (e.g. KB4598299) also seem to cause the same effects.

The following community post has more details of the bug and possible workarounds:

We have no doubt that Microsoft will fix this very soon (in Visual Studio 2017 and 2019, at least) so for now we're not too worried, but in the meantime - or if you're using an older version of Visual Studio - the workarounds are to uninstall the update, or edit devenv.exe.config.

If you decide to do the latter, check to see if the if the configuration/runtime/AppContextSwitchOverrides element exists. If it does append the following to its value:


If however the element does not exist (it may not for older versions of Visual Studio), you can just add it:

             Switch.System.Windows.Interop.MouseInput.DoNotOptOutOfMoveToChromedWindowFix=true" />

Once you restart Visual Studio you should then be good to go.

Posted by Anna at 12:07 | Get Link

Visual Lint has been released

Tuesday, February 2, 2021

This is a recommended maintenance update for Visual Lint 7.0. The following changes are included:

Download Visual Lint

Posted by Anna at 15:15 | Get Link