Using system.windows.forms on Mono develop on Linux

I have been using ubuntu 10.04 and recently 11.10. I have mono develop installed thro synaptics or ubuntu software centre. I have been doing c# and windows forms programming on visual studio on vista. However, I have never succeeded in making system.drawing or system.windows.forms available in my mono develop on ubuntu. The mono site advertises that system.windows.forms come installed with

在Mono上使用system.windows.forms在Linux上开发

我一直在使用Ubuntu 10.04和最近11.10。 我有单声道开发安装thro synaptics或ubuntu软件中心。 我一直在做vista上的visual studio的c#和windows窗体编程。 但是,我从来没有成功地使system.drawing或system.windows.forms在我的mono中可用,在ubuntu上开发。 单声道网站宣布system.windows.forms随我的单声道安装一起安装。 怎么可能,我找不到它? 单声道网站甚至没有链接让我下载system.windows.forms库。 我需要

Service Reference Error: Failed to generate code for the service reference

I have a Windows Service Solution and am trying to add a service reference to a Hermes(Opensource ebms message server) Web Service in VS2010. I can find the Web Service using it's URL, but when I try and populate the Service reference I get the following errors in Visual Studio: Error 8 Custom tool error: Failed to generate code for the service reference 'testService'. Please check other

服务参考错误:无法为服务参考生成代码

我有一个Windows服务解决方案,并试图在VS2010中为Hermes(Opensource ebms消息服务器)Web服务添加服务引用。 我可以使用它的URL找到Web服务,但是当我尝试填充服务引用时,我在Visual Studio中收到以下错误: Error 8 Custom tool error: Failed to generate code for the service reference 'testService'. Please check other error and warning messages for details. C:UsersAdmindocumentsvisual studio 2010ProjectsM

Mono Application Compiled Under Linux Does Not Run in Windows

I've been compiling a smallish application in Mono using Gtk#. This is my first Gtk# + Mono application, but I've been developing with the .NET Framework for a decent amount of time now. The end goal of the application is for it to run under all 3 major platforms (though I only have 2 to test on). So far, I've accomplished that goal kind of. Sometimes I develop under Linux, othe

在Linux下编译的单声道应用程序不能在Windows中运行

我一直在使用Gtk#编写Mono中的一个小应用程序。 这是我的第一个Gtk#+ Mono应用程序,但我现在用.NET Framework开发了相当长的时间。 该应用程序的最终目标是在所有3个主要平台上运行(尽管我只有2个可以测试)。 到目前为止,我已经完成了那个目标。 有时我在Linux下开发,有时在Windows下开发。 两个系统都有最新的Gtk#的Mono 4.0.2。 但是,Linux编译的exe和Windows编译的exe文件之间存在差异。 编译时使用相同的

OrderBy ignoring accented letters

I want a method like OrderBy() that always orders ignoring accented letters and to look at them like non-accented. I already tried to override OrderBy() but seems I can't do that because that is a static method. So now I want to create a custom lambda expression for OrderBy() , like this: public static IOrderedEnumerable<TSource> ToOrderBy<TSource, TKey>( this IEnumerable&

OrderBy忽略重音字母

我想要一个像OrderBy()这样的方法,总是命令忽略重音字母并将它们看作非重音字符。 我已经试图覆盖OrderBy()但似乎我不能这样做,因为这是一个静态方法。 所以现在我想为OrderBy()创建一个自定义lambda表达式,如下所示: public static IOrderedEnumerable<TSource> ToOrderBy<TSource, TKey>( this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) { if(source == null)

Linux Mono and CAN

just a small question, maybe someone can help. I am looking for some CAN-Bus USB device and the posibility to create a C# application with mono to handle CAN-messages with the device. May be someone had some experience with linux and CAN-USB devices. Till now i am using a PEAK PCAN-USB device like PCAN-USB May be some of you have experience with this device, Linux and Mono. Also if some

Linux Mono和CAN

只是一个小问题,也许有人可以提供帮助。 我正在寻找一些CAN总线USB设备以及创建带单声道C#应用程序的可能性来处理设备中的CAN消息。 可能会有人在linux和CAN-USB设备方面有过一些经验。 直到现在,我正在使用PCAN-USB等PEAK PCAN-USB设备 可能你们中的一些人有这种设备的经验,Linux和Mono。 另外如果有人知道更好的设备,请在这里告诉它。 BR Daniel 这是我正在使用的设备:OBDIIReader 随着这个链接:说明

How to write programs in C# .NET, to run them on Linux/Wine/Mono?

In this particular case I need to run .complicated NET application for Linux. By complicated i mean - that project was developed for 3 years and i don't want to write it again in java or something else and develop and support both, .NET and Java version later. Application is generating mouse and keyboard events (by winapi/dll import) and uses serial port. I have also few timers for delays

如何用C#.NET编写程序,在Linux / Wine / Mono上运行它们?

在这种特殊情况下,我需要为Linux运行.complicated NET应用程序。 复杂的我的意思是 - 这个项目已经开发了3年,我不想再用java或其他东西来写它,并在以后开发和支持.NET和Java版本。 应用程序正在生成鼠标和键盘事件(通过winapi / dll导入)并使用串行端口。 我也很少有定时器延迟 - 用于串口通信(10-20ms,我不需要很高的精度)。 其余的只是很多简单的代码,没什么特别的,没有奇怪的控制,没有directx等。 我应该

How to decide between MonoTouch and Objective

After sitting through a session today on Mono at a local .Net event, the use of MonoTouch was 'touched' upon as an alternative for iPhone development. Being very comfortable in C# and .Net, it seems like an appealing option, despite some of the quirkiness of the Mono stack. However, since MonoTouch costs $400, I'm somewhat torn on if this is the way to go for iPhone development. A

如何决定MonoTouch和Objective

在Mono举行的本地.Net活动中,MonoTouch的使用被作为iPhone开发的替代品。 在C#和.Net中使用起来非常舒服,尽管Mono堆栈有些诡异,但它似乎是一个吸引人的选择。 但是,由于MonoTouch的售价为400美元,因此如果这是iPhone开发的方式,我会受到一些限制。 任何人都有使用MonoTouch和Objective-C进行开发的经验,如果是的话,使用MonoTouch进行开发比学习Objective-C更简单,更快速,而且价值400美元? 最近我已经看到了这

Executing .Net Application using Mono on CentOS or Linux

I have develop a Test Application using WinForm in C# .Net on Visual Studio 2010. Now, I want to run this under Linux using Mono on CentOS. So I tried below command sequence - [root@localhost TestLinux]# /usr/bin/mono ./Test.exe I hit an exception Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> S

在CentOS或Linux上使用Mono执行.Net应用程序

我在Visual Studio 2010的C#.Net中开发了一个使用WinForm的测试应用程序。现在,我想在Linux下使用Mono在CentOS上运行此应用程序。 所以我尝试了下面的命令序列 - [root@localhost TestLinux]# /usr/bin/mono ./Test.exe 我遇到了一个例外 Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitialization

Developing C# on Linux

I'd like to know if there are effective and open source tools to develop C# applications on Linux (Ubuntu). In particular, I have to develop WinForm applications. I know about Mono project , but I've never used it. Can you suggest me what are the best tools (IDE, compiler, etc.) to set up a .NET developing environment on Ubuntu? Is it software developed on Linux runnable on Windows?

在Linux上开发C#

我想知道是否有有效的开源工具在Linux(Ubuntu)上开发C#应用程序。 特别是,我必须开发WinForm应用程序。 我了解Mono项目 ,但我从未使用它。 你能告诉我什么是最好的工具(IDE,编译器等)在Ubuntu上建立一个.NET开发环境吗? 它是在Windows上运行的Linux上开发的软件吗? 是否有不同的行为或不兼容? MonoDevelop,与Mono Project相关的IDE应该足够用于Linux上的C#开发。 现在我不知道在Linux上用于C#开发的任何

How to run DNX 'console app' as a background service on Linux?

I've implemented a DNX (dnx451) 'console app' which is intended to run as a background service. On Windows I would just turn it into a Windows Service. What is the proper way to do this on Linux (for instance, Ubuntu)? EDIT: Found more info here: How to migrate a .NET Windows Service application to Linux using mono? On Unix/Linux operating system you can turn any program into

如何在Linux上运行DNX'console app'作为后台服务?

我已经实现了一个旨在作为后台服务运行的DNX(dnx451)'控制台应用程序'。 在Windows上,我只是把它变成一个Windows服务。 在Linux上执行此操作的正确方法是什么(例如Ubuntu)? 编辑: 在这里找到更多信息:如何使用mono将.NET Windows Service应用程序迁移到Linux? 在Unix / Linux操作系统上,您可以将任何程序转换为后台服务 dnx run & “&”将“dnx run”变成后台程序(当我记得当前的shell会话时)。