Visual Studio crashing desktop after last OS update

Visual Studio crashing desktop after last OS update

book

Article ID: CTX221729

calendar_today

Updated On:

Description

When you install Visual Studio 2010 or 2012, Visual Studio also installs the .NET 4 components it needs in the Application layer. If you update the .NET 4 components in the Visual Studio layer and do not also update them in the Operating System layer, there is a mismatch in the .NET files, which causes an exception, and the desktop crashes.

Resolution

 

 

Because Visual Studio updates .NET 4 in the Visual Studio Application layer, these same updates need to be installed in an Operating System layer version.

To update the .NET components in the Operating System layer version to match the updated Visual Studio layer version:

  1. In the Edit Desktop wizard, unassign the Visual Studio application from the desktop.
  2. Create a version of the Visual Studio layer using the same Operating System layer version on which it was created, an Operating System layer version on which the .NET updates have not been applied.
  3. On the Operating System layer version that you used to create the new Visual Studio layer version, temporarily allow Windows updates.
  4. Run the Windows updater with only the .NET 4 updates selected. (Updates for previous versions of .NET, such as 3.5, should not be selected.)
  5. Apply the updates, reboot the installation machine, and run the Windows Updater again to make sure there are no other .NET 4 updates.
  6. Disable the Windows updater.
  7. Apply all updates, including the .NET 4 updates, to the Operating System layer version and finalize the version.
  8. Apply the new Operating System layer version to the desktop.
  9. Finally, apply the new Visual Studio layer version to the desktop.