none
How can I use .NetFramework 4.0 in windows 8 RRS feed

  • Question

  • Hi, I recently bought a windows 8 laptop and install VS2013 web on my computer. My company's web project is currently using .net framework 4.0., but it force me to upgrade to 4.5. I have search on google, it said 4.0 is include in the 4.5, so it force the user to use 4.5 on windows 8, but I can't. Since the project itself is from sourcetree and other programmers is using 4.0, is there a way to using .net framework 4.0 on windows 8? I have try to download 4.0 on the internet, but it say is already install in the computer. Unstill 4.5 still doesn't work, please help.                                                                      

    Saturday, December 6, 2014 4:34 AM

Answers

All replies

  • Actually, your issue is in Visual Studio. What "forced" you to use .NET 4.5?

    VS 2013 defaults to target .NET 4.5, but you have the option to retarget your VS 2013 projects to use .NET 4.0.

    As you don't say what type(s) web projects you are developing, I cannot be specific about retargeting, but in general, go to Project->(your project name)Properties, then look for the Target Framework dropdown list and select 4.0 for all your projects.

    Saturday, December 6, 2014 5:42 AM
  • I already try that sir, that's the first thing I check. 

    when I download the project from the source tree, and open up in VS2013 first time, it pop up the window like the image below. I try to download the 4.0 standalone installer, but it keep showing it is already install in this computer. 

    In the project->Properties, it doesn't have .net framework 4.0 to let me choose. 

    I am sorry, I didn't verify my account yet, so I can't post image in here to let you see.

    If you want I can sent you an e-mail

    Sunday, December 7, 2014 8:55 PM
  • You can upload any images you want to share to a public site, like OneDrive, then post the links here.

    To post a link as plain text, do the following:

    1. Paste the link into your message body.

    2. Click the Remove Hyperlink button (left of HTML) to turn it into plain text.

    Sunday, December 7, 2014 11:21 PM
  • onedrive.live.com/redir?resid=3C85CD7105254FFE!234&authkey=!AFiWka9Fj4DVit8&v=3&ithint=photo%2cpng

    onedrive.live.com/redir?resid=3C85CD7105254FFE%21234

    thank you so much

    Monday, December 8, 2014 1:56 AM
  • OK, I see your issue.

    Please test the integrity of your .NET 4.5 with this tool:

    http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx

    Run the tool with .NET 4.5 selected, then post the first 12 lines AND the last 12 lines of the tool log here.

    Monday, December 8, 2014 2:31 PM
  • [12/08/14,08:36:56] Beginning of new SetupVerifier activity logging session
    [12/08/14,08:36:56] Build created on June 24, 2014
    [12/08/14,08:36:56] For more information about repairing the .NET Framework, see http://support.microsoft.com/kb/2698555 and http://go.microsoft.com/fwlink/?LinkID=246062
    [12/08/14,08:36:56] Activity log file location: C:\Users\TONY1_~1\AppData\Local\Temp\setupverifier_main_12-08-14_08.36.56.txt
    [12/08/14,08:36:56] Error log file location: C:\Users\TONY1_~1\AppData\Local\Temp\setupverifier_errors_12-08-14_08.36.56.txt
    [12/08/14,08:36:56] Detected operating system: Windows 8.1 (x64)
    [12/08/14,08:36:56] Windows directory: C:\Windows
    [12/08/14,08:36:56] System directory: C:\Windows\system32
    [12/08/14,08:36:56] Program Files directory: C:\Program Files (x86)
    [12/08/14,08:36:56] Common Files directory: C:\Program Files (x86)\Common Files
    [12/08/14,08:36:56] Install state for .NET Framework 1.0: not installed.
    [12/08/14,08:36:56] Install state for .NET Framework 1.1: not installed.
    [12/08/14,08:36:56] Install state for .NET Framework 2.0: installed with service pack 2.
    [12/08/14,08:36:56] Install state for .NET Framework 3.0: installed with service pack 2.
    [12/08/14,08:36:56] Install state for .NET Framework 3.5: installed with service pack 1.
    [12/08/14,08:36:56] Install state for .NET Framework 4 Client: installed with no service packs.
    [12/08/14,08:36:56] Install state for .NET Framework 4 Full: installed with no service packs.
    [12/08/14,08:36:56] Install state for .NET Framework 4.5: installed with no service packs.
    [12/08/14,08:36:56] Install state for .NET Framework 4.5.1: installed with no service packs.
    [12/08/14,08:36:56] Install state for .NET Framework 4.5.2: installed with no service packs.
    [12/08/14,08:36:56] Not adding product '.NET Framework 1.0' because it is not currently installed
    [12/08/14,08:36:56] Not adding product '.NET Framework 1.1' because it is not currently installed
    [12/08/14,08:36:56] Not adding product '.NET Framework 1.1 SP1' because it is not currently installed
    [12/08/14,08:36:56] Not adding product '.NET Framework 2.0' because it is not currently installed
    [12/08/14,08:36:56] Not adding product '.NET Framework 2.0 SP1' because it is not currently installed
    [12/08/14,08:36:56] Not adding product '.NET Framework 3.0' because it is not currently installed
    [12/08/14,08:36:56] Not adding product '.NET Framework 3.0 SP1' because it is not currently installed
    [12/08/14,08:36:56] Not adding product '.NET Framework 3.5' because it is not currently installed
    [12/08/14,08:37:13] Starting verification for product .NET Framework 4.5
    [12/08/14,08:37:13] Section [Files - .NET Framework 4 Client (Common)] - start parsing entries

    -------------------------------------------------------------------~~~~~~~-----------------------------------------

    [12/08/14,08:37:23] Key: HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
    Value: Servicing
    Actual Data: REGISTRY VALUE FOUND
    [12/08/14,08:37:23] Key: HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
    Value: TargetVersion
    Expected Data: 4.0.0
    Actual Data: 4.0.0
    [12/08/14,08:37:23] Key: HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
    Value: Version
    Actual Data: REGISTRY VALUE FOUND
    [12/08/14,08:37:23] Section [Registry - .NET Framework 4 Full (Wow6432Node)] - stop parsing entries
    [12/08/14,08:37:23] Not running action 'Registry - .NET Framework 4.5 (32-bit)' for product '.NET Framework 4.5' because the OS condition does not match
    [12/08/14,08:37:23] Section [Registry - .NET Framework 4.5 (64-bit)] - start parsing entries
    [12/08/14,08:37:23] Section [Registry - .NET Framework 4.5 (64-bit)] - stop parsing entries
    [12/08/14,08:37:23] Section [Registry - .NET Framework 4.5 (Wow6432Node)] - start parsing entries
    [12/08/14,08:37:23] Key: HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
    Value: Release
    Actual Data: REGISTRY VALUE FOUND
    [12/08/14,08:37:23] Section [Registry - .NET Framework 4.5 (Wow6432Node)] - stop parsing entries
    [12/08/14,08:37:23] Processing custom action 'Custom Action - .NET Framework 4.0 test application'
    [12/08/14,08:37:23] ExecutablePath = 'Netfx40TestApplication.exe'
    [12/08/14,08:37:23] FriendlyName = '.NET Framework 4 test application'
    [12/08/14,08:37:23] TimeoutSeconds = '300'
    [12/08/14,08:37:23] WaitOnExit = 'true'
    [12/08/14,08:37:23] Silent = 'true'
    [12/08/14,08:37:23] Launching process 'Netfx40TestApplication.exe' now
    [12/08/14,08:37:23] Process successfully launched. Waiting 300 seconds for it to complete.
    [12/08/14,08:37:23] Process 'Netfx40TestApplication.exe' exited with return code 0
    [12/08/14,08:37:23] Verification succeeded for product .NET Framework 4.5

    Monday, December 8, 2014 4:39 PM
  • Your .NET 4.0 is installed and verified correctly configured.

    I think you need to repair your VSE 2013 installation. If that does not help, a full uninstall/reinstall may work.

    Monday, December 8, 2014 7:14 PM
  • I will try that tonight, ty
    Monday, December 8, 2014 8:33 PM
  • Hello sir, 

    I try the repair and re install on VS2013 web, it didn't work.

    Do I have to Download other VS2013(Professional, Premium, etc.) to use .net Framework 4.0? 

    Is there a Microsoft hotline that I can call and talk to them?  

    Tuesday, December 9, 2014 3:26 AM
  • Tuesday, December 9, 2014 3:04 PM
  • I need to pay them first in order to get support? 

    Tuesday, December 9, 2014 7:40 PM
  • I cannot say whether or not they will actually charge you, but I believe you do have to provide credit card info in case.

    I do have one alternate suggestion for you. As your case is actually more about Visual Studio setup, you can resubmit your issue in the Visual Studio Setup forum here:

    https://social.msdn.microsoft.com/Forums/en-US/vssetup/threads

    I will leave your new post alone so that others can provide better suggestions.

    Tuesday, December 9, 2014 8:23 PM
  • Thank you so much for the help

    Wednesday, December 10, 2014 2:09 AM
  • you can downgrade your VS to VS 2012 so that you can use .NET 4.0 properly and other people can connect your project.
    Wednesday, December 10, 2014 3:00 PM
  • @Tony,

    How is your issue now?

    Actually if the problem is pending on VS we need to troubleshoot this issue by view your logs:

    Please use  http://aka.ms/vscollect  to gather the installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to https://skydrive.live.com/  and share the link here.

    And if you have already tried reformat your OS or repair your OS to use Visual Studio, please feel free to share the result. In my mind, you can use download a ne w fresh VS ISO and verify it by refer to this page:

    http://www.visualstudio.com/en-us/downloads/visual-studio-2013-iso-sha1-vs.aspx#

    After that, you can repair your VS with the ISO and check whether you can use VS with .NET 4.

    Best regards,



    Barry
    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.

    Tuesday, December 23, 2014 9:32 AM
    Moderator