Running .NET 4 application with Mono

后端 未结 4 1565
不知归路
不知归路 2021-02-05 10:48

I\'m trying to run a .NET exe on a Ubuntu machine (I installed the package mono-complete), so far with no luck. The application is compiled with Visual C# Express 2

4条回答
  •  攒了一身酷
    2021-02-05 11:17

    I suspect the exception is because the method System.Windows.Forms.Application.SetCompatibleTextRenderingDefault hasn't been implemented. Have you ran the tool through the Mono Migration Analyzer (MoMA), should help in knowing whether your application is compatible with mono. From that point you can possibly workaround the problem, maybe even incorporating the missing method in your code.

提交回复
热议问题