103

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?

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108
Michael Puckett II
  • 6,586
  • 5
  • 26
  • 46
  • Have you updated Visual Studio 2017 for .NET Framework 4.7? – Samvel Petrosov Apr 10 '17 at 06:37
  • 2
    It was in the Components section of the Visual Studio Installer and I didn't realize it. When I installed 2017 I chose all components and when the updates came out I just updated it without clicking the components tab to see if new components were also there. Lesson learned. – Michael Puckett II Apr 10 '17 at 06:41
  • I am not finding in the installer components to choose .NET 4.7 when I am trying to install the updated VS 2017 in Windows Server 2016 OS. Am I doing something wrong here? – RinoTom Apr 12 '17 at 02:47
  • @RinoTom I'm not sure.. I didn't try until after I upgraded to Windows 10 Creators Update. It says it's included in VS2017 so I would assume it would be there but you may need Creators Update also. Hopefully someone else can chime in to verify. In the installer, at the top, there are 3 categories, Workloads, Individual Components, and Language Packs. For me it was in the Individual Components under .NET as .NET Framework 4.7 SDK and .NET Framework 4.7 targeting pack. Also, make sure VS2017 is completely updated possibly. Hope this helps. – Michael Puckett II Apr 12 '17 at 03:09
  • 1
    @MichaelPuckettII, I tried the installation on Windows Server 2016 which doesn't have Creator's Update OR as I can understabd on a further research (https://msdn.microsoft.com/en-us/library/bb822049(v=vs.110).aspx), even .NET 4.7 is not released for Windows Server 2016 yet it looks like. So that might be the reason I am not finding .NET 4.7 in the VS 2017 installation i tried. – RinoTom Apr 26 '17 at 13:34
  • @RinoTom That sounds accurate then. This may be something you'll have to wait for when server is updated to CU. I'm speculating though and don't know for sure but it seems like you've nailed down the issue. – Michael Puckett II Apr 27 '17 at 01:57

5 Answers5

164

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

dvorn
  • 3,107
  • 1
  • 13
  • 12
  • Wow... I have searched for hours and it was right in front of me. :/ Thanks man. I'll mark as answered as soon as it lets me. Installing it now. – Michael Puckett II Apr 10 '17 at 06:39
  • 7
    @GWigWam I don't either, but as 4.7 is initially only available in Win10's "Creator's Update", I'm assuming that is a dependency. – Richard Apr 10 '17 at 07:11
  • 3
    My VS installer doesn't have .NET 4.7 in the list of .NET components. What am I missing? https://www.screencast.com/t/f78eR5cUk – Dmitri Nesteruk Apr 11 '17 at 08:24
  • 4
    @DmitriNesteruk The .NET 4.7 Framework itself should be installed. Currently it is only possible by having Win 10 CU. – dvorn Apr 11 '17 at 08:37
  • 2
    @dvom my system is win10, yet cannot see 4.7 either in installer – Elaine Apr 25 '17 at 07:52
  • 1
    @Elaine Do you also have the Creators Update installed? – Michael Puckett II May 03 '17 at 22:16
  • 33
    To install after installing VS already, I closed VS2017, started the "Visual Studio Installer" program, clicked "Modify" under the installation I wanted to change, expanded ".NET desktop development" on the right hand side (since I already had this workload installed), and checked ".NET 4.7 desktop 4.7 development tools". I then clicked "Modify" in the bottom right to make the change – Camron B May 15 '17 at 15:34
  • Visual Studio 2017 setup lets you choose .NET 4.6.2 and .NET 4.7 depending on your installed OS. in catalog.json file you can find 4.6.2 "supportedOS":"10.0.14393" and 4.7 "supportedOS":"10.0.15058". – Matteo TeoMan Mangano Jul 14 '17 at 12:14
  • 2
    [.NET version 4.6.2 and 4.7 option missing from Visual Studio](http://irisclasson.com/2017/09/21/net-version-4-6-2-and-4-7-option-missing-from-visual-studio/) post by [Iris Classon](https://stackoverflow.com/users/984153/iris-classon) demonstrates where to find these options in VS installer. – Dmitry Pavlov Sep 28 '17 at 21:42
  • The name of the component in VS 2017 to install was ".Net Framework 4.7.2 targetting pack" for me. – sbkrogers Jan 20 '19 at 19:17
  • The installer lists .NET Framework 4.6.2 development tools as unchecked but 4.6.2 is already available for projects in Visual Studio. Why is 4.6.2 available but not 4.7, 4.7.1, or 4.7.2 when all are unchecked in the installer? – xr280xr Jan 22 '19 at 13:01
  • For those saying the installer didn't give the option to modify their installation, make sure you're using the installer located here: C:\Program Files (x86)\Microsoft Visual Studio\Installer – ihake Feb 22 '19 at 21:02
  • Those that can't find the installer, just go to "Help" then "Check for Updates", once it's checked for updates, on the right hand side is "Open Visual Studio Installer", you can then modify it (it's on the down arrow on 'More') – zuckerburg Mar 06 '19 at 14:58
  • MOre info, not good solutions https://developercommunity.visualstudio.com/content/problem/61785/net-framework-47-not-listed-as-a-target-framework.html – Kiquenet Jun 19 '19 at 05:07
  • You may have to go to "Individual Components" and manually select the SDK of the version you want. – Jonathan E. Landrum Mar 31 '21 at 20:56
18

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

enter image description here

Cristian Diaconescu
  • 34,633
  • 32
  • 143
  • 233
11

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

Mahbubur Rahman
  • 4,961
  • 2
  • 39
  • 46
  • 3
    Just a note that even this stand-alone installer will **not** work on Windows 10 Enterprise N 2015 LTSB. It gives a [not supported error](https://i.stack.imgur.com/EwX7z.png). – RBT Aug 21 '17 at 06:26
10

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

Umang
  • 815
  • 5
  • 17
4

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://learn.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 :)

Jay
  • 3,203
  • 2
  • 25
  • 31
  • I feel so stupid now. I just discovered this on my own but wish I'd have scrolled down to this sooner, instead of only when checking to see if someone else had posted the solution I found. New laptop with bare minimum options installed threw me off. – Marc Levesque Nov 04 '22 at 15:34