none
VS 2015 Says .net framework 2.0 or 3.5 Is not installed.

    Question

  • Hi Guys

       So I am trying to reload a project in my solution that needs to target .net framework 3.5.  I have updated the project file to target this version.  In VS 2015 when I try to reload the project I get a screen telling me the .net framework 3.5 is not installed and gives me the option to do this.  Loads this link 'http://go.microsoft.com/fwlink/?prd=12485&pver=12&sbp=TargetPackMissing&plcid=0x409&o1=.NETFramework,Version=3.5' but just opens up the default Microsoft webpage.  I have tried uninstalling .net 3.5 from the Control Panel but it won't let me reinstall it there since it is trying to download it again.  

    I have tried running 

    DISM /Online /Disable-Feature /FeatureName:NetFx3 

    Then

    DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs 

    Which this did take some time to re install and then restart.  Went back into VS 2015 tried loading the project and got the same message to that .net 3.5 was not installed.  Any help would be apprecated?


    • Edited by Jon Wolff Wednesday, May 18, 2016 5:43 PM
    Wednesday, May 18, 2016 3:25 PM

Answers

  • Found the problem I was having.  This was from me targetting one of my projects to use .net 3.5 and in the project file I was putting <TargetFrameWorkVersion>2.0</TargetFrameWorkVersion> but it should have been <TargetFrameWorkVersion>v2.0</TargetFrameWorkVersion>.  Thank you for the help.
    Thursday, May 19, 2016 3:27 PM

All replies

  • Hi Jon,

    Thank you for posting in MSDN forum.

    Firstly, could you please tell us what’s your OS version?

    Win 8 and Win 10 includes .NET Framework 3.5 (.NET framework 2.0+3.0)

    https://blogs.msdn.microsoft.com/astebner/2007/03/14/mailbag-what-version-of-the-net-framework-is-included-in-what-version-of-the-os/

    If your os is Win 8 or Win 10, please follow the following steps to enable .NET framework 3.5 via Control Panel> Turn windows features on or off.

    https://support.microsoft.com/en-us/kb/2785188

    Else, please download and install Microsoft .NET Framework 3.5 from the following link:

    https://www.microsoft.com/en-sg/download/details.aspx?id=21

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Thursday, May 19, 2016 6:16 AM
    Moderator
  • Hi

      Thank you for getting back to me.  I have windows 10 Enterprise OS.  I have tried the reinstall from control panel with no luck.  I have also tried installing the direct .net framework 3.5 link given and I run the exe as administrator and it asks me if I want to run but nothing else comes up after that.  Not sure what is going on here.   Can you tell me why the link that VS 2015 puts into the browser to download the software does not work?  That seems to be a bug just in VS minus that I have .net 2.0 and 3.5 installed but it does not recognize that.

    Thursday, May 19, 2016 12:51 PM
  • You have to install Microsoft .NET Framework 3.5 Service Pack 1(Full) 

    SP1 is very important!

    https://www.microsoft.com/de-de/download/details.aspx?id=25150

    did this solve your problem?

    Thursday, May 19, 2016 12:59 PM
  • Unfortunately not, when I try running that install file I get the window to pop up to run as administrator and then nothing else comes up to actually install the code.  Do you know where in event viewer I can look to see what the installer might be exiting with for an error?
    Thursday, May 19, 2016 2:40 PM
  • post plz the Installation log error http://stackoverflow.com/questions/7126077/create-an-msi-log-file

    and do not forget to vote ^^

    Thursday, May 19, 2016 3:27 PM
  • Found the problem I was having.  This was from me targetting one of my projects to use .net 3.5 and in the project file I was putting <TargetFrameWorkVersion>2.0</TargetFrameWorkVersion> but it should have been <TargetFrameWorkVersion>v2.0</TargetFrameWorkVersion>.  Thank you for the help.
    Thursday, May 19, 2016 3:27 PM
  • Hi Jon,

    Glad to hear you have had your issue resolved. And thanks for sharing us your solution and result here.

    Please mark  your reply as the answer, it will benefit to other community members who have the same issue. It will be easier for them to search the solution.

    Have a nice day:)

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    • Marked as answer by Jon Wolff Friday, May 20, 2016 12:22 PM
    • Unmarked as answer by Jon Wolff Friday, May 20, 2016 12:22 PM
    Friday, May 20, 2016 1:29 AM
    Moderator
  • I think I did it but Not sure where to do this exactly sorry.
    Friday, May 20, 2016 12:23 PM
  • Hi Jon,

    You have marked your answer right. :)

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Monday, May 23, 2016 6:34 AM
    Moderator