瞄准和编译对于.NET Framework 4.0中使用Mono [英] Targeting and Compiling For .NET Framework 4.0 with Mono

查看:229
本文介绍了瞄准和编译对于.NET Framework 4.0中使用Mono的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一般情况下,托管可执行我编译与单GMCS在Ubuntu上运行正常使用.NET Framework 2.0的Windows版本,但不与任何其他版本的工作。是否有可能编译在.NET Framework 4和Mono运行的EXE?

Generally the Managed executables I compile with the Mono GMCS on Ubuntu, run fine with .NET Framework 2.0 on Windows, but don't work with any other version. Is it possible to compile exes that run on the .NET Framework 4 with Mono?

推荐答案

而不是的GMC ,使用公契 Mono的编译器它的目标4.0运行时的前端。

Instead of gmcs, use the dmcs front end of the Mono compiler which targets the 4.0 runtime.

这篇关于瞄准和编译对于.NET Framework 4.0中使用Mono的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆