Click here to Skip to main content
Click here to Skip to main content
 

Visual Studio 2010 "Unknown Error" after uninstalling .NET Framework 4.5 (any version)

By , 27 Sep 2012
Rate this:
Please Sign up or sign in to vote.

Introduction  

If you came across this article then you must have got an error in Visual Studio 2010 after uninstallation of .NET Framework 4.5. 

Don't get panic Cry | <img src=  ...the solution is very simple,   

How it happened for me 

I was installing MVC 4 for Visual Studio 2010 and I got some issues with .NET Framework 4.5. To resolve that issue I  uninstalled .NET Framework 4.5.  Click here to read the issues caused. 

OMG | <img src= Something went wrong, Visual Studio Stopped working with an Error Message - "Unknown Error".  

After some googling I found the solution in MSDN itself   

How I resolved 

I Just re-installed .NET Framework 4 (updates too if any) as it got uninstalled due to the un-installation of .NET Framework 4.5. That's it.  Visual Studio 2010 starts working. 

MSDN says that   

  • The .NET Framework 4.5 replaces the .NET Framework 4. When you install the .NET Framework 4.5 on a system that has the .NET Framework 4 installed, the assemblies are replaced. 
  • Uninstalling the .NET Framework 4.5 also removes pre-existing .NET Framework 4 files. If you want to go back to the .NET Framework 4, you must reinstall it and any updates to it.  

Read more from MSDN 

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Shemeer NS
Software Developer (Senior)
India India
Technology Specialist | CodeProject MVP | Visual Studio Gallery Contributor | Author | Geek | Netizen | Husband | ChessPlayer
 
Most of my articles are listed on top 5 of the respective 'Best articles of the month' and some of my articles are published on ASP.NET WebSite's Article of the Day section.
 
Check my contributions in Visual Studio Gallery and Code Project
 
Technical Blog: http://www.shemeerns.com
Facebook: http://facebook.com/shemeernsblog
Twitter : http://twitter.com/shemeerns
Google+ : http://google.com/+Shemeernsblog
Follow on   Twitter   Google+

Comments and Discussions

 
GeneralMy vote of 5 PinmemberBurak TARHANLI19-Jan-13 5:41 
GeneralRe: My vote of 5 PinmvpShemeer NS19-Jan-13 19:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web01 | 2.8.140421.2 | Last Updated 27 Sep 2012
Article Copyright 2012 by Shemeer NS
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid