'Is there a way to use .NET 6 class library project as a DLL or project reference in the ASP.NET Webforms application (.NET Framework 4.8)?

Is there a way to use .NET 6 class library project as a DLL or project reference in the ASP.NET Webforms application (.NET Framework 4.8)?

I have an ASP.NET web application with multiple class libraries, I am trying to start to migrate these projects to .NET 6, and use them in the Web app since Webforms is not supported in the latest .NET.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source