Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How I do target Framework 4.8 when I have VS2022 installed

Since I have installed VS2022, I can not create a new project targetting framework 4.8.

Whenever I click "New project" from within VS2019, it seems to invoke VS2022 which leaves me with no choice but NetCore or Framework 5. Both don’t work for me.

I start VS2019:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

enter image description here

Now I click "Create new project":

enter image description here

enter image description here

enter image description here

enter image description here

So, there seems to be no way to do what I want.

enter image description here

"Installing other frameswork…" does not help.
I already have them installed, so their installer only offers me to restore / modify / repair them.

enter image description here

What else could I try?

Edit: Yes, in the installer, Framework 4.8 is activated:

enter image description here

>Solution :

You should select the Windows Forms App (.NET Framework) project template. If you select the Windows Forms App project template , then it will only have .NET Core or.NET 5/6 as targets.
Project Template NET Framework

Then you can select the .NET Framework version you need for your project
enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading