Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I install the .NET 4.0 Framework on Windows 8 Pro / Visual Studio 2012 Professional?

I get this:

enter image description here

and if I follow the link of Install other frameworks... I get into Microsoft page where I find this information:

enter image description here

I have then installed .NET Framework 4.0.1 Targeting Pack and .NET Framework 4.0.2 Targeting Pack as I can't install 4.0.3, restarted the machine over an over, but Visual Studio continues not to show the framework on the dropdown menu.

What am I doing wrong?

Here is what regedit says what I have installed on my machine:

enter image description here

share|improve this question
1  
I am having the same issue on a Windows 8 machine, but no issues with a Windows 7 machine. Leaning towards it being Windows 8 –  Tom Stickel Oct 29 '12 at 4:15
1  
@TomStickel same here... I have no problems with Windows 7, only after upgrade, let me know if you get a solution, I'm starting to think that a uninstall/install or reinstall would fix... will try this later today. –  balexandre Oct 29 '12 at 10:11
    
A friend of mine is having the same problem. Sinking too much time into it. Have to "call it" .... Formatting to Windows 7 :/ –  Tom Stickel Oct 29 '12 at 18:05
    
Related over on StackOverflow: Multi-Targeting .Net Framework 4 and Visual Studio 2012 –  Ƭᴇcʜιᴇ007 Jan 12 '13 at 19:15
    

1 Answer 1

.NET 4.5 is an in-place update to the 4.0 framework. Contrary to .NET 3.0 and 3.5 which were built on top of 2.0, .NET 4.5 replaces 4.0.

In fact if you have a client Windows machine with .NET 4.0 installed and install 4.5 it will update both the client and extended profiles to 4.5 (and in 4.5 there is no client and extended profiles anymore, comes in full).

I'd suggest you target 4.5 directly, but if you do need to target 4.0 maybe VS2010 needs to be installed too; I have it along with VS2012 and .NET 4 targetting appears in the frameworks list:

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.