Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 not recognizing .NET Framework 4.0

I've recently had to uninstall/re-install my .NET Framework 4 after finding my current installation was corrupt. I found this when attempting to upgrade my Telerik Controls.

I manually uninstalled my .NET Framework using the command line and then re-installed the newest version of the framework from MSDN.

Now when I open previous projects in VS2010 (which are coded in .NET 4), it prompts me to Install .NET Framework 4.0 or retarget the Project to a another Framework or Profile.

Is there a way to refresh Visual Studio 2010 to recognize that I have the .NET Framework installed? and/or would a simple Repair on my Visual Studio installation correct this problem?

like image 488
Lando Avatar asked Nov 17 '25 14:11

Lando


1 Answers

The first thing you should try is to repair your Visual Studio installation. VS2010 relies on .NET 4.0 as a prerequisite. When you re-installed .NET 4.0, you probably messed up the VS2010 installation.

like image 91
IAmTimCorey Avatar answered Nov 20 '25 16:11

IAmTimCorey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!