Mono 对 .Net 框架开发人员的限制 [英] Limitations in Mono for a .Net framework developer

查看:25
本文介绍了Mono 对 .Net 框架开发人员的限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从 .Net 切换到 Mono(加上 Visual Studio 到 Mono 中的任何 IDE).这真的很难吗?

I want to switch over to Mono from .Net (plus Visual Studio to whatever IDE in Mono).Is this going to be really tough?

我会面临什么问题?

谢谢

推荐答案

正如其他人所指出的,我假设您的意思是从 .Net 框架迁移到 Mono.话虽如此,您将面临的困难在很大程度上取决于您尝试移动的代码类型以及您使用框架的哪些部分.例如,如果您的代码中充斥着 P/Invoke 调用,那么您将度过一段艰难的时光.如果它是简单的 .Net 代码,您可能会相对一帆风顺.

As others have pointed out, I'm assuming that what you meant was moving from the .Net framework to Mono. With that said, the amount of difficulty you'll face depends a lot on what kind of code you are trying to move and what parts of the framework you use. For example, if your code is littered with P/Invoke calls, you're going to have a rough time. If it's straightforward .Net code you will probably have relatively smooth sailing.

您会想花一些时间使用 Mono Migration Analyzer (MoMA).您会遇到该工具无法捕捉到的事情,但它会捕捉到很多基础知识,让您可以自由地处理更大的事情.

You're going to want to spend some time with the Mono Migration Analyzer (MoMA). You'll run into things that aren't caught by the tool, but it will catch a lot of the basics and leave you free to tackle bigger things.

这篇关于Mono 对 .Net 框架开发人员的限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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