✅ How to use .NET 4.5 in Visual Studio 2022
i want use .net 4.5 in Visual Studio 2022,but i can't find it.
11 Replies
Why 4.5 specifically?
VS 2022 supports 4.6 and up, if I'm not mistaken
So for an ancient version like 4.5 you'll need a sufficiently ancient version of the IDE as well
Also, to be more precise, what you want is .NET Framework 4.5
.NET is the modern version that starts with version 5.0
unless you're working on an existing legacy project, you should be using .NET 8
oddly enough, we've used VS2022 with .net fx 4.5.2 for years
Yes, VS2022 should support .NET 4.5 just fine. Although you might be prompted to download an extra targetting pack
But, .NET 4.5 is EOL. You should be on .NET 4.6.2 if you're forced to stay on .NET Framework
4.6 at least
Ideally, 4.8, the last version of .NET Framework
Ideally ideally, you're not forced to use Fx and you can go with .NET 8
Yeah, but I work in a regulated industry and I can sympathise with needing to stay on Framework
I will never get the "security is paramount to our industry, so we will use as obsolete of a version as humanly possible"
It's not really that. It's more there's a lot of regulation, paperwork and testing involved in pushing out a new release, and actually getting new releases into things like hospitals is painful. You're easily looking at £100k+. This is all driven by safety, less so security. .NET Core versions go EOL in 3 years, and there's a good chance you'll get unlucky and have to release with less than that to go, whereas Framework is just as supported, just as secure, and doesn't go EOL
Fair
Yes you don't get the shiny stuff, but using 3rd-party code / nuget packages / etc is painfully paperwork-y anyway
Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View