I have created a .NET framework 4.6.2 web application.
Then I have created a .NET Standard class library. The target framework is 1.6 or 1.5 or everything lower it does not matter.
When I add the web application as project reference to the .NET Standard class library (unit test project) I get this error:
Severity Code Description Project File Line Suppression State
Error One or more projects are incompatible with .NETStandard,Version=v1.5.
Error Project Api is not compatible with netstandard1.5 (.NETStandard,Version=v1.5). Project Api supports: net462 (.NETFramework,Version=v4.6.2)
I use Visual Studio 2017 and have latest .NET Core 1.0/11 SDK installed.
How can I make it work?