Have you installed ".NET Desktop Development" ?
Like in the picture :
To install the .NET Framework Developer Pack or Targeting Pack
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello.
I reinstalled windows 10. Installed visual studio 2022.
When start a project, .NET framework 4.0 is required
Error when installing .NET framework 4.0
Microsoft .NET Framework 4 is already part of this operating system. Installation of the .NET Framework 4 Redistributable is not required
How to start a project? Update it to last .NET framework?
Have you installed ".NET Desktop Development" ?
Like in the picture :
To install the .NET Framework Developer Pack or Targeting Pack
This has nothing to do with installing the .NET runtime or Windows 10.
you don't have the target pack for .NET Framework 4 installed.
When you opened the solution you will have got a dialog like this:
and the option to download the target pack.
But .NET Framework 4.0 is no longer supported, so you need to target a newer version anyway (4.6.2 or higher).
microsoft-net-framework
Hi @Денис Швацкий , if you are still having issues then it may be helpful for you. Visual Studio 2022 supports .NET Framework 4.6 to the upper version. So go to Visual Studio installer -->modify -->individual component -->select the required framework and install it(click Modify option). I would recommend the latest one. Then open the project and upgrade it to the available target framework that you have installed.
Hi,
I have the same issue, but an upgrade is not possible for me. Is there another way?