07/02/18 18:11
TheDarkJuster
Non sono ben informato sull'argomento ma sono abbastanza sicuro che fino a due anni fa windows.forms usava le win32 api e per creare gui cross-platform era necessario gtk#. Ora windows.forms credo sia deprecato.
aaa
07/02/18 18:12
TheDarkJuster
Comunque, personalmente.... non ho mai visto programmi linux usare windows forms
aaa
08/02/18 16:09
Thejuster
da quel che ho visto nei video, è possibile fare solo applicazioni console cross-platform.
usando normalmente codice .net
poi per la compilazione credo che dipenda dagli os.
docs.microsoft.com/en-us/dotnet/core/…
del tipo nei commenti vedo qualcosa del genere
Q: How do I override the detected RID of the Operating System IÂ’m using? I could probably get the debian version of .net to run on my system, but it thinks my system is something else.
A:
dotnet publish -o exedir -f netcoreapp2.0 -r linux-x64
dotnet publish -o exedir -f netcoreapp2.0 -r ubuntu.16.04-x64
dotnet publish -o exedir -f netcoreapp2.0 -r win10-x64
etc
you can build a windows standalone on linux and vice versa so I'd imagine you could output anything for any platform from your platform
Sarebbe veramente il top se fosse possibile utilizzare le standard api .net di win per i form su altri os.
Ultima modifica effettuata da Thejuster 08/02/18 16:13
17/02/18 15:05
TheDarkJuster
Ti confermo che non è possibile.
GTK# rimane l'unica soluzione.
aaa