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.

5
  • 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 Commented Aug 31, 2020 at 10:41
  • I have installed the developers pack which has both SDK and the pack. Ref: stackoverflow.com/a/58000913/2858235 Commented Aug 31, 2020 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 Commented Aug 31, 2020 at 10:43
  • BTW that answer also says use the Installer Commented Aug 31, 2020 at 10:43
  • I have used the installer only and the registry entry confirms the same I guess. I am on VS 2017 Commented Aug 31, 2020 at 10:47

1 Answer 1

14

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

Sign up to request clarification or add additional context in comments.

4 Comments

Thanks for the "(.Net Framework)" hint, Peter! +1 for that.
Awesome, Thanks bro. i reinstall too many times until see ur comment
I owe you a beer bro!
You saved me a lot of time!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.