I have a .Net 5 web application built on ASP.Net Core. I know this will run on Linux, because .Net 5 is cross platform compatible, just like .Net Core. Previous versions of .Net Core could not reference .Net Framework 4.x dlls, but .Net 5 can.
If I add a reference to a .Net Framework 4.x dll from my .Net 5 application, will the .Net 5 web application still run on Linux? I know this works locally on my Windows machine, but I do not have an easy way to test this on Linux. Does anyone know what would happen? I cannot find any articles that touch on this scenario.