Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't choose .NET 4.7

I am trying to start a new project using .NET 4.7. I have Creators Update installed as well as the latest version of Visual Studio 2017. When I start a project and device to choose a .NET version, the latest .NET framework version I have is 4.6.2. When I go to download a new .NET framework, it only lists 4.6.2 as the latest via MS that you can download. It says that .NET 4.7 is included in VS 2017. What am I missing?

like image 261
Michael Puckett II Avatar asked Apr 10 '17 06:04

Michael Puckett II


People also ask

Why Net Framework 4.7 is not installing?

When you try to install the Microsoft . NET Framework 4.7 on a computer that runs Windows 7 Service Pack 1 (SP1), Windows Server 2008 R2 SP1, or Windows Server 2012, the setup is blocked and cannot continue. This issue occurs when the computer does not have the update for D3DComplier (D3DCompiler_47. dll) installed.

How do you fix the .NET Framework 4.7 is not supported on this operating system?

The only solution for this problem is to simply update your Windows 10. It is advised to check for Windows Updates even if you are on the latest version of Windows 10. Since the problem is caused by incompatible operating system, installing all the available Windows 10 updates will most likely resolve the issue.

How do I get .NET Framework 4.7 2?

NET Framework 4.7. 2 is available on Windows Update and on Windows Server Update Service (WSUS). It will be offered as a recommended update on Windows Update.


5 Answers

You need to go to Visual Studio Installer and install an optional component ".NET Framework 4.7 Development Tools".

like image 153
dvorn Avatar answered Oct 07 '22 01:10

dvorn


"A picture is worth a thousand bytes (with adequate compression)" and all that jazz...

enter image description here

like image 22
Cristian Diaconescu Avatar answered Oct 07 '22 01:10

Cristian Diaconescu


The .NET Framework 4.7 was released as part of Windows 10 Creators. For other versions of Windows, you have to install the .NET Framework 4.7.

Offline Installer of .NET Framework 4.7 Developer pack

like image 36
Mahbubur Rahman Avatar answered Oct 07 '22 03:10

Mahbubur Rahman


So I could not find the .Net Framework 4.7.2 Developer tool even in Visual Studio Installer. However you can download & run them from here:

https://www.microsoft.com/net/download/visual-studio-sdks

like image 20
Umang Avatar answered Oct 07 '22 02:10

Umang


For anyone late to the party here; In Visual Studio 2019, I had this problem by using a .Net Core template to create my project.

https://docs.microsoft.com/en-us/visualstudio/ide/visual-studio-multi-targeting-overview?view=vs-2019

For non-.NET Framework project templates, for example .NET Core templates, the Framework drop-down list doesn't appear.

Make sure you pick a .Net Framework template when creating a project/solution :)

like image 28
Jay Avatar answered Oct 07 '22 03:10

Jay