Mono 对 .Net 框架开发人员的限制

Limitations in Mono for a .Net framework developer(Mono 对 .Net 框架开发人员的限制)
本文介绍了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 框架开发人员的限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

DispatcherQueue null when trying to update Ui property in ViewModel(尝试更新ViewModel中的Ui属性时DispatcherQueue为空)
Drawing over all windows on multiple monitors(在多个监视器上绘制所有窗口)
Programmatically show the desktop(以编程方式显示桌面)
c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
LINQ many-to-many relationship, how to write a correct WHERE clause?(LINQ多对多关系,如何写一个正确的WHERE子句?)