I have a C# console app written under net 6.0. And I ran it complied exe file (I complied it in Windows and upload whole published folder to Linux VM) using mono, and get following message:
file does not contain a valid CIL image.
I checked the other thread and re-install dotnet package. But it still does not work out.
Please provide some help. Thanks.