.NET Framework and .NET Standard context (compatibility issue)
My DLL is built using .NET Standard 1.6 and ASP.net is using .NET Framework 4+
This is the error I am getting
Severity Code Description Project File Line Suppression Status Error Project Targets ".NETStandard, Version = v1.6". Cannot be referenced by a project that targets ".NETFramework, Version = v4.5.2. WebApplication
Is there a job for this? Using the old ASP.NET framework instead of the new ASP.NET core I'm not a fan of the Razor syntax, however I would like to use the old aspx syntax to create web forms.
Usage: VS - 2017
source to share
Only .Net Framework 4.6.1 with 2.0 tools supports .Net Standard 1.6. You will not be able to target DLL.Net Standard 1.6 in an application targeting .Net Full framework 4+ other than 4.6.1 with 2.0 tools. Please refer to this link for more information on platform support and compatibility.
source to share
I like to reference assembly 4.5 from project 4.0:
To see what standard .net version is implemented by any version of the .NET Framework see https://blogs.msdn.microsoft.com/dotnet/2016/09/26/introducing-net-standard/
source to share