Comments on: Visual studio does not display .NET 4.0 (or 4.5) framework option for target framework https://www.anujvarma.com/visual-studio-does-not-display-4-0-or-4-5-framework-option-for-target-framework/ Production Grade Technical Solutions | Data Encryption and Public Cloud Expert Fri, 15 Mar 2024 06:17:16 +0000 hourly 1 https://wordpress.org/?v=7.0.2 By: Pankaj Singh https://www.anujvarma.com/visual-studio-does-not-display-4-0-or-4-5-framework-option-for-target-framework/#comment-61272 Fri, 15 Mar 2024 06:17:16 +0000 http://www.anujvarma.com/?p=1848#comment-61272 which verser will be best for iis server, 3.5 or 4.5 .net server?

]]>
By: How to add dot net version 4.0 in target framework of visual studio 2010? - Programming Tutorial https://www.anujvarma.com/visual-studio-does-not-display-4-0-or-4-5-framework-option-for-target-framework/#comment-50219 Thu, 06 Jan 2022 15:20:19 +0000 http://www.anujvarma.com/?p=1848#comment-50219 […] EDIT: Source for the first suggestion – http://www.anujvarma.com/visual-studio-does-not-display-4-0-or-4-5-framework-option-for-target-frame… […]

]]>
By: Paul https://www.anujvarma.com/visual-studio-does-not-display-4-0-or-4-5-framework-option-for-target-framework/#comment-33875 Wed, 15 Aug 2018 16:28:09 +0000 http://www.anujvarma.com/?p=1848#comment-33875 In reply to mearle.

That does not work, as you can see in his write-up, he already did that. I have the same bug. I’ve uninstalled and re-installed the developer pack and the version still does not appear in visual studio or in the folder mentioned above.

]]>
By: mearle https://www.anujvarma.com/visual-studio-does-not-display-4-0-or-4-5-framework-option-for-target-framework/#comment-22511 Wed, 18 Jan 2017 16:50:04 +0000 http://www.anujvarma.com/?p=1848#comment-22511 Install the .NET framework developer pack for the version you want.
https://www.microsoft.com/net/targeting

]]>
By: Bri https://www.anujvarma.com/visual-studio-does-not-display-4-0-or-4-5-framework-option-for-target-framework/#comment-19863 Fri, 21 Oct 2016 01:46:49 +0000 http://www.anujvarma.com/?p=1848#comment-19863 The same thing happened to me. I had VS2010 Pro installed, then installed VS2015 community, then later uninstalled community, and I got what you describe.

Mine was missing FrameworkList.xml in C:\Program Files (x86)\Reference Assemblies\Microsoft\.NetFramework\v4.0\RedistList.

]]>
By: GoalIT86 https://www.anujvarma.com/visual-studio-does-not-display-4-0-or-4-5-framework-option-for-target-framework/#comment-19132 Fri, 23 Sep 2016 09:36:46 +0000 http://www.anujvarma.com/?p=1848#comment-19132 Great job, it worked!

]]>
By: Tim https://www.anujvarma.com/visual-studio-does-not-display-4-0-or-4-5-framework-option-for-target-framework/#comment-16095 Wed, 23 Mar 2016 01:20:18 +0000 http://www.anujvarma.com/?p=1848#comment-16095 I’m not sure if this is the complete answer. On my VS2015 installation, I can only see v3.0 and v3.5 in folder C:\Program Files\Reference Assemblies\Microsoft\Framework.

However, my apps can target v4 / 4.5 / 4.5.1 / 4.5.2 etc.

My problem is that with my app that is targeting 4.5.1, the referenced assemblies are all 4.0 (eg System.ServiceModel) and I can’t reference 4.5 assemblies that have new classes that I need

]]>