I have test .NET 5 WinForms application that references .NET Framework 4.8 class library - Github link.
I suppose it's possible because of .NET Framework compatibility mode
When I'm trying to debug a class library in Visual Studio 2019 16.8.4 (by starting my .NET 5 application) I get an error:
The debugger was configured to use the Desktop CLR (.NET Framework) Managed debugger, but the target process loaded the CoreCLR (.NET Core) runtime. The debugger was configured to use the Desktop CLR (.NETFramework) Managed debugger, but the target process loaded the CoreCLR (.Net Core) runtime. To debug this project, configure it to use the 'Managed (CoreCLR)' debugger.
Where can I find an option to use the 'Managed (CoreCLR)' debugger.
Thank you in advance.
UPDATE If I start debugging from .NET 5 application project - I can step into .NET Framework 4.8 class library. But I want to debug from class library project.