I can compile my application on Linux using mono mcs, but the result is an executable for .NET Framework 4.5. On windows it runs but I cannot use any newer functionality. I tried to find out how to
.exe proje uzantisi olmaz; windows icin executable uzantisi olur.
Zaten derlenmistir, bunu tekrar derlemek diye bir sey olmaz.
Bahsettigin .exe dosyasini olusturmak icin kullanilan source kodu kullanarak, eger mumkunse, diger platformlar icin yeniden compile edebilirsin. Bu da projeye gore degisir. Her proje OS agnostik kod icermez. C# Linux'te uygun runtime uzerinde calisiyor fakat WinForms tumuyle desteklenmiyor olabilir zira hem C# basindan beri Linux desteklemiyor hem de WinForms icinde compatible olmayan direktifler olabilir. Arastirman gerekiyor. Zaten cross-platform masaustu uygulama gelistirmek niyetindeysen C# pek de dogru bir tercih degil.
AppImageKit halihazirda target platform icin compile ettigin uygulamani (*nix aarm64 vs ) o distro'da stand-alone calistirabilmen icin kullanabilecegin tool. Tutup da .exe 'yi deb yapan sihirbaz degil, alakasiz bir oneri olmus.
win icin yazilmis executable'i direkt .deb paketine donusturmek teknik olarak her executable icin mumkun degil. Zaten mumkun olsaydi WINE a gerek kalmazdi.