.NET 4.5 and 4.7.1 dependencies #176
Unanswered
StellarsJayNorthwest
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'd like to use the DnsClient.NET in a project but when I open the solution in Visual Studio 2022 I get missing dependency errors.
4.5 is ancient at this point. Any chance it could be removed? I don't think .NET 4.5 can even be installed on VS 2022. Any suggestions?
Severity Code Description Project File Line Suppression State
Error MSB3644 The reference assemblies for .NETFramework,Version=v4.5 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks DnsClient C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 1229
From https://learn.microsoft.com/en-us/dotnet/framework/install/guide-for-developers :
Starting with Visual Studio 2022, Visual Studio no longer includes .NET Framework components for .NET Framework 4.0 - 4.5.1 because these versions are no longer supported. Visual Studio 2022 and later versions can't build apps that target .NET Framework 4.0 through .NET Framework 4.5.1. To continue building these apps, you can use Visual Studio 2019 or an earlier version.
Beta Was this translation helpful? Give feedback.
All reactions