You open Visual Studio 2022. You look.
Modern versions of Visual Studio (2019, 2022, and beyond) do not include .NET 4.0 by default. Use these methods to add it: : Open the Visual Studio Installer . Select Modify on your current installation. Go to the Individual components tab. net framework 4.0 targeting pack
A common confusion: Is the .NET Framework 4.0 Targeting Pack relevant to modern .NET (Core, 5, 6, 7, 8, 9)? You open Visual Studio 2022