4

I have installed .Net Framework 4.8 and confirmed the same in the registry entry.

enter image description here

I am still not able to see the same in Target Framework dropdown in project properties tab.

tavier
  • 1,744
  • 4
  • 24
  • 53
  • 3
    Have you installed the *SDK* though? That shows what runtime is installed. Which Visual Studio version are you using? If it's Visual Studio 2017 and later, start Visual Studio Installer and ensure `.NET Framework 4.8` support is checked either in `Individual Items` or in the payload section you want – Panagiotis Kanavos Aug 31 '20 at 10:41
  • I have installed the developers pack which has both SDK and the pack. Ref: https://stackoverflow.com/a/58000913/2858235 – tavier Aug 31 '20 at 10:42
  • SO questions aren't references, they are questions that may or may not have anything to do with your own question. What Visual Studio version have you installed? That answer says what I also said though - use Visual Studio Installer – Panagiotis Kanavos Aug 31 '20 at 10:43
  • BTW that answer also says `use the Installer` – Panagiotis Kanavos Aug 31 '20 at 10:43
  • I have used the installer only and the registry entry confirms the same I guess. I am on VS 2017 – tavier Aug 31 '20 at 10:47

1 Answers1

11

Microsoft have made it very confusing with the different Project templates to create any 2.0 to 4.8 .Net Framework projects

The following template sounds plausible:

Plausible Template for Net Framework

Note how there are only two options.

Net Core only options

The correct templates to look at : enter image description here

Contain "(.Net Framework)" within the title:

Windows Forms Project Template .Net Framework 2.0 to 4.8

Peter Nimmo
  • 1,045
  • 2
  • 12
  • 25