单声道运行时的局限性 [英] The Limitation of Mono Runtime

查看:140
本文介绍了单声道运行时的局限性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是类似<一个href="http://stackoverflow.com/questions/802559/limitations-in-mono-for-a-net-framework-developer">this 之一和<一href="http://stackoverflow.com/questions/204709/is-mono-robust-enough-for-serious-enterprise-development">this 之一,但有一个细微的差别。所以这就是为什么我问在这里。

My question is similar to this one and this one, but there is a slight difference. So that's why I am asking it here.

我有一个闪亮的.Net 3.5的Windows服务(与NHibernate,LINQ,拉姆达EX pression)等,在Windows上运行。现在,我打算端口我的应用程序到Linux,所以我想单。

I have a shiny .Net 3.5 Windows Service ( with NHibernate, LINQ, lambda expression) etc, running on Windows. Now I plan to port my app to Linux, so I am thinking about Mono.

我可以只编写在Windows中我的.NET应用程序,并将其复制到Linux机器安装了.NET(单声道版本),并期望它能够流畅运行?如果不是,有什么我应该怎么办?

Can I just compile my .net app in Windows, and copy it to a Linux machine with .Net ( mono version) installed, and expect it to run smoothly? If not, is there anything I should do?

任何答案或指针是欢迎的。

Any answers or pointers are welcome.

推荐答案

使用纽约现代艺术博物馆工具启动

Mono的迁移分析器(纽约现代艺术博物馆)   工具可以帮助您识别问题,你可以   有在移植您的.NET   申请单。它有助于查明   平台特定的来电(P / Invoke的)和   尚未支持该地区   Mono项目。虽然现代艺术博物馆可以帮助   显示潜在的问题,有许多   无法被覆盖复杂的因素   通过一个简单的工具。纽约现代艺术博物馆可能无法   指出领域,这将导致   的问题,并且可以指出的地区   这实际上不会成为问题

The Mono Migration Analyzer (MoMA) tool helps you identify issues you may have when porting your .Net application to Mono. It helps pinpoint platform specific calls (P/Invoke) and areas that are not yet supported by the Mono project. While MoMA can help show potential issues, there are many complex factors that cannot be covered by a simple tool. MoMA may fail to point out areas that will cause problems, and may point out areas which will not actually be an issue

这是个人的一点:所有的C#3.0的功能支持不好,我曾与LINQ没有问题(要的对象,不知道的LINQ to SQL或XML)和NHiberinate也是行之有效的(虽然我并没有结束使用)

From Personal point: All C# 3.0 feature are supported well, I had no problem with LINQ (To Objects, don't know about LINQ to SQL or to XML) and NHiberinate also works well (although I didn't end up using in)

这篇关于单声道运行时的局限性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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