1

I have been trying to figure out how to install the .net framework 4.5.2 for visual studio. I heard that visual studio already has 4.5 installed, but it's not showing up on my list, the highest is version 3.5. I have been to many websites and installed the framework from these locations:

http://www.microsoft.com/en-us/download/details.aspx?id=30653

                                       ^^^     =40773

                                       ^^^     =42637

None of these have worked, I am still stuck with 3.5, which is extremely frustrating. Thanks :) Sam

6
  • You need to see in HELP->About Microsoft Visual Studio
    – Avijit
    Dec 25, 2014 at 20:24
  • Ok, I've looked there and it's telling me that it is using version 4.5. But when I go to publish, it only goes up to 3.5 Dec 25, 2014 at 20:30
  • You probably need to change the targeted version before publishing your website. Need to go to the Property Pages of the Project -->Build->Target Framework
    – Avijit
    Dec 25, 2014 at 20:33
  • Ok, when I click project, build is not an option. Dec 25, 2014 at 20:46
  • Property Pages -->Build->Target Framework
    – Avijit
    Dec 25, 2014 at 20:50

2 Answers 2

1

I have shown this in below image. Please try to follow:

enter image description here enter image description here

OR You need to follow this (the winning answer) How to set the “Target Framework” in visual studio 2013

OR

Once can set this using Web.Config file:

<configuration>
    <system.web>
        <compilation debug="true" strict="false" explicit="true" targetFramework="4.0"/>
    </system.web>
</configuration>
11
  • Thank you for the answer, but as I previously mentioned, I cannot change the target framework to 4 or above, which is why I am seeking help. Dec 25, 2014 at 21:31
  • Hope it solved your problem. Request you to accept as a answer.
    – Avijit
    Dec 25, 2014 at 21:37
  • Erm, I think you misread what I said. All your picture illustrates is my issue, not a solution. Dec 25, 2014 at 22:10
  • Hold on, all we have tried is to solve your problem. These pictures showed you how to and from here you can able to change your targeted framework and nothing else.
    – Avijit
    Dec 25, 2014 at 22:19
  • My issue, is that I can't change it to 4+, and all that the pictures show is you changing yours to 4+. I can't. Dec 25, 2014 at 22:49
0

Check that:

  • Go to the Project menu and click on the Properties menu item
  • Click on Application in the left pane
  • In the target framework drop down, make sure it is set to .NET Framework 4.5
2
  • Thank you for the answer, but this doesn't fix my issue. As I have already said the option for 4.5 is not there, which is why I'm seeking help. Dec 25, 2014 at 21:32
  • When I answered your question above, I was running Visual Studio Express 2012. I have since uninstalled it. I downloaded and ran Visual Studio 2013 Community Edition. I still see .NET Framework 4.5 available in the drop down. You likely don't have .NET Framework installed or have corrupted files. Uninstall .NET and redownload and install again. Dec 26, 2014 at 0:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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