none
How to get visual studio to recognize the installed frameworks. RRS feed

  • Question

  • Hello

    I am following this tutorial: https://msdn.microsoft.com/en-us/library/ms734712%28v=vs.110%29.aspx

    But visual studio does not find the 4.5 framework.  It is installed according to control panel and I have this folder C:\Windows\Microsoft.NET\Framework64\v4.0.30319  but visual studio only sees 3.5 as evidenced by C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5 as the highest folder available.  Plus the 4.5 framework refuses to install because it has already been installed.  I tried installing visual studio 2015 which is running now.  I do, however need to use 2008 since the entire ERP system is written in that.

    Anyone know how I can fix this?

    Friday, April 1, 2016 8:15 PM

Answers

  • I failed to mention that I was using VS 2008.  Someone just mentioned that .Net framework is inaccessible to VS 2008 so that may be my issue.
    Monday, April 4, 2016 2:27 PM
  • Hi MarDude,

    Thank you so much for sharing the steps you did solution and point here, as you said, the cause may be pending on the VS and .NET Framework Compatibility.

    You could install more advanced VS edition, it will make the program development more good experienced.

    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.

    Tuesday, April 5, 2016 8:12 AM
    Moderator

All replies

  • Hi MarDude,

    Thank you for posting in MSDN forum.

    For this issue, I suspect that if .NET Framework 4.5 is installed incorrectly, please check it first.

    (1) Please use .NET Framework Setup Verification Tool to verify all the .NET Frameworks on your machine.

    (2) After running it, you will find the log file in the %TEMP% folder, if the exit code != 0, it means that the .NET frameworks installed incorrectly, we could use .NET Framework Repair Tool to repair it.

    Besides, you could try using a standalone installer to install .NET Framework 4.5 You can get the Standalone Installer from following link:

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

    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, April 4, 2016 6:01 AM
    Moderator
  • Thanks for your reply, however your instructions failed to fix the problem.

    (1) I ran this tool and it reported all frameworks are installed correctly.

    (2) FYI: The tool does NOT store the logs in the %TEMP% folder.  I suspect it was changed since the last time you used it.  There is now a button which displays the log.  I couldn't find the file on my system anywhere.  In any event all return codes were 0.

    (3) I ran the standalone installer you pointed me to.  That is the exact same installer I tried with the exact same results.  Refusal to install the .Net framework since it is already installed.

    (4) I ran the repair tool and it seemed to do some stuff.  Then it told me to re-run the .Net set up that failed.  But no .Net set up failed.  It purposefully refused to work.  I tried again and got the same result.

    I suspect the problem is somehow tied with visual studio.  Perhaps I made a mistake in choosing where to post this since the framework seems to be installed just fine.  It is just completely unusable with visual studio.

    Should this question be asked in another forum?  Can it be moved OR should I re-post the question elsewhere?

    The whole purpose of this is to use the WCF libraries.  But I am now almost two days behind now because of these problems so I will use the TcpClient.  If this gets resolved quickly I may try the new wrapper, but it has already proved more expensive then the older library.

    Thanks

    Monday, April 4, 2016 1:39 PM
  • I failed to mention that I was using VS 2008.  Someone just mentioned that .Net framework is inaccessible to VS 2008 so that may be my issue.
    Monday, April 4, 2016 2:27 PM
  • Hi MarDude,

    Thank you so much for sharing the steps you did solution and point here, as you said, the cause may be pending on the VS and .NET Framework Compatibility.

    You could install more advanced VS edition, it will make the program development more good experienced.

    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.

    Tuesday, April 5, 2016 8:12 AM
    Moderator