I recently included a .net 4.6.2 project to use with my .net core 2.1 app. But after I've done this the projects stopped to compile throwing this error:
Error Your project does not reference ".NETFramework,Version=v4.6.2" framework. Add a reference to ".NETFramework,Version=v4.6.2" in the "TargetFrameworks" property of your project file and then re-run NuGet restore. SelfSignCertificateAssistant
The project stopped to compile even for another pure 4.6.2 solution. Needless to say it was working just fine before.
There was absolutely nothing that was changed in the project, so I'm not sure how to fix this:
nuget restore
after setting the target framework? – Ron Beyer