Search code examples
visual-studiogacvisual-studio-2022

Visual Studio 2022 Community Unable to Run after uninstalling VS2022 Community Preview


Afternoon all,

I had been using the Visual Studio 2022 Preview. Recently I decided to switch to the Release version. I uninstalled VS2022 Preview and installed the 2022 Community Release.

The install runs fine and completes with no issues. However when trying to run VS2022 It comes up with the error attached below.

From my talks with MS found at https://developercommunity.visualstudio.com/t/Unable-to-launch-VS-Comunity-2022-after/1596301?entry=myfeedback&viewtype=all It appears VS2022 Community should be running version 17.0 of the .Threading DLL. However no matter what I have tried it refuses to load.

I have run the uninstaller with -F. Re-installed several times. Attempted to install 17.0 to the GAC but this does not change the outcome As per the post on the developer community pretty much everything short of re-installing windows (Which I am 100% trying to avoid)

I ran the FusionLog viewer (Attached) and it looks like there is something re-binding this to the 17.1 .threading version however I know very little about how this works and where I might find a solution, Hence, I am here :). Although my post on the DeveloperCommunity is still active I'm hoping a resolution here maybe faster!

Thank you!

Fusion Error Visual Studio Error


Solution

  • Actually the above is incorrect, you can't even get to the startup screen.

    The correct answer is you need to remove the V15 version of the dll from the GAC. Instructions from MS can be found here.