How to write programs in C# .NET, to run them on Linux/Wine/Mono?

前端 未结 5 879
攒了一身酷
攒了一身酷 2020-12-08 08:02

In this particular case I need to run .complicated NET application for Linux. By complicated i mean - that project was developed for 3 years and i don\'t wa

5条回答
  •  囚心锁ツ
    2020-12-08 08:48

    You can install the full .Net Framework 4.x in wine using winetricks, then run your app.

    Wine supports serial ports, so I don't see any inconvenience.

    I made a video showing this:

    https://www.youtube.com/watch?v=60yyWBLXv1k

    In the video, you can see the windows taskbar. Don't worry about it. This is because it is running in WSL2. But these steps work perfectly in Linux.

    Regards

提交回复
热议问题