Monday, May 30, 2022

Open .net framework 4.5 project in VS 2022.

 

·         Download Microsoft.NETFramework.ReferenceAssemblies.net45 from nuget.org

·         Open the package as zip

·         copy the files from build\.NETFramework\v4.5\ to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5

For more details: Building a project that target .NET Framework 4.5 in Visual Studio 2022