I am trying to compile an old program, I downloaded the source code, It was a bunch of .cs files. When I opened it up in VSStudio and tried to compile it, I got this error:
The reference assemblies for .NETFramework,Version=v4.0 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
After doing some research, some have had success compiling this on an older version of visual studio. I am going to try that now,
But does anyone know if I can still even compile this code anymore?
Compiling in VisualStudio 2022 with .NET 4.8