none
framework 4.0

    Question

  • Hi,

    I am trying to open up a project that is targeted to framework 4.0.  I can see in my Framework folder, that I have several different frameworks including 'v4.0.30319'.  When I go to the control panel to uninstall a framework, I don't see this one there.     When I try to build the project pointing to v4.0, it asks me if I want to retarget the project to .net framework 4.

    I agree and then when I try to build,I get an error and it VS wants to close or debug.  The problem details include:

    problem event name:  CLR20r3, signature 01: devenv.exe,etc.... 

    I tried reinstalling VS 2010, but it did not help.

    When I try to install /repair 4.0 framework from a download, I get the message that a higher framework or same framework is already installed, but I can't even see it in the control panel to uninstall or repair it.  How can I fix this?


    mhoran

    Tuesday, June 28, 2016 5:50 PM

Answers

  • Hi mhoran,

    According to your description, you want to open a existing project which is target to Framework 4.0. But you could not install the .NET Framework 4.0 because higher version of .NET Framework installed.

    As far as I know, the highest version of .NET Framework version in VS2010 is Framework 4.0. Please try create a new project with VS2010 and choose ".NET Framework 4" when create this project and then please compile this default project to check whether it also has this issue.

    If the new project works fine, I'm afraid that the problem should be related to the existing projects. Please try move the existing project files to the new project and build again.

    If the new project still has this issue, I'm afraid that there has some problem with your .NET Framework installation and Visual Studio installation.

    To make sure whether it is related to corrupted .net frameworks, please take the following steps to see if it helps:

    1. You can try run “SFC /scannow” to repair the embed .NET first, refer to:  https://support.microsoft.com/en-us/kb/929833

    2. Use .NET Framework Setup Verification Tool to verify the .NET Frameworks on your machine, you can download from here: http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx

    By using it, you will find the log file under %TEMP% folder, see the first 15 lines and the last 15 lines.

    If the exit code != 0, it means that your .NET installed incorrectly, please first use .NET Framework Repair Tool to repair it, http://www.microsoft.com/en-us/download/details.aspx?id=30135

    For Visual Studio installation problem, please use http://aka.ms/vscollect  to gather the VS and .Net Frameowrk installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to Onedrive and share the link here.

    Best Regards,
    Weiwei


    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.

    Wednesday, June 29, 2016 6:54 AM
    Moderator
  • Thank you. I ended up reinstalling my Visual Studio and now I see 4.0 framework option.

    thanks


    mhoran

    Thursday, June 30, 2016 5:09 PM

All replies

  • Hi mhoran,

    According to your description, you want to open a existing project which is target to Framework 4.0. But you could not install the .NET Framework 4.0 because higher version of .NET Framework installed.

    As far as I know, the highest version of .NET Framework version in VS2010 is Framework 4.0. Please try create a new project with VS2010 and choose ".NET Framework 4" when create this project and then please compile this default project to check whether it also has this issue.

    If the new project works fine, I'm afraid that the problem should be related to the existing projects. Please try move the existing project files to the new project and build again.

    If the new project still has this issue, I'm afraid that there has some problem with your .NET Framework installation and Visual Studio installation.

    To make sure whether it is related to corrupted .net frameworks, please take the following steps to see if it helps:

    1. You can try run “SFC /scannow” to repair the embed .NET first, refer to:  https://support.microsoft.com/en-us/kb/929833

    2. Use .NET Framework Setup Verification Tool to verify the .NET Frameworks on your machine, you can download from here: http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx

    By using it, you will find the log file under %TEMP% folder, see the first 15 lines and the last 15 lines.

    If the exit code != 0, it means that your .NET installed incorrectly, please first use .NET Framework Repair Tool to repair it, http://www.microsoft.com/en-us/download/details.aspx?id=30135

    For Visual Studio installation problem, please use http://aka.ms/vscollect  to gather the VS and .Net Frameowrk installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to Onedrive and share the link here.

    Best Regards,
    Weiwei


    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.

    Wednesday, June 29, 2016 6:54 AM
    Moderator
  • Thank you. I ended up reinstalling my Visual Studio and now I see 4.0 framework option.

    thanks


    mhoran

    Thursday, June 30, 2016 5:09 PM
  • Hi mhoran,

    Thanks for your response and I'm glad that you have resolved your problem.

    Please mark your solution as answer, which is benefit to other communities who has the same problem. If any questions in future, please feel free to come back creating new thread on our forum.

    Best Regards,
    Weiwei


    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.

    Friday, July 1, 2016 1:14 AM
    Moderator