简体   繁体   English

创建跨平台应用程序

[英]creating cross platform application

I was making an OpenGL application with C# and Windows Forms .我正在使用C#Windows Forms制作一个OpenGL应用程序。

Recently I thought about making it cross-platform, I mean to make it run on Windows , Linux and OS X .最近我想让它跨平台,我的意思是让它在WindowsLinuxOS X 上运行 I have never even tried to make a cross platform application.我什至从未尝试过制作跨平台应用程序。

I did some research and found that I should use mono.我做了一些研究,发现我应该使用单声道。 Do applications made with MonoDevelop will run fine all of these platforms without any additional installations?使用 MonoDevelop 制作的应用程序是否可以在所有这些平台上正常运行而无需任何额外安装? If not, what exactly user will need to install to run that application?如果没有,用户究竟需要安装什么才能运行该应用程序?

Is there any easy way to write the code once and then build it for windows, linux and os x without requiring the additional installations?有没有什么简单的方法可以编写一次代码,然后在不需要额外安装的情况下为 windows、linux 和 os x 构建它?

Does applications made with MonoDevelop will run fine on windows, linux, os x without any additional installations?使用 MonoDevelop 制作的应用程序是否可以在 windows、linux、os x 上正常运行而无需任何额外安装?

Well.好。 They will require Mono to be installed on Linux and OsX and the corresponding version of the .NET framework on Windows (or Mono there too).他们需要在 Linux 和 OsX 上安装 Mono,以及在 Windows 上安装相应版本的 .NET 框架(或者也安装 Mono)。

When developing, you will of course need to keep cross platform concerns in mind (directory separators, for instance, though the Path class helps here), and Mono have created the migration analyzer to help with this - see MoMa .在开发时,您当然需要牢记跨平台问题(例如,目录分隔符,尽管Path类在这里有帮助),Mono 已经创建了迁移分析器来帮助解决这个问题 - 请参阅MoMa

Now, assuming you kept these in mind and that Mono and or the .NET framework is installed on the end user system, you shouldn't need anything additional to install.现在,假设您牢记这些并且在最终用户系统上安装了 Mono 和/或 .NET 框架,您应该不需要任何额外的安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 创建跨平台应用程序 - Creating cross platform applications 跨平台应用程序中的BinaryFormatter - BinaryFormatter in cross-platform application 创建Xamarin.Forms跨平台应用程序时出现“此项目需要Visual Studio更新才能加载”错误 - “This project requires a Visual Studio update to load” error when creating a Xamarin.Forms Cross-Platform Application 创建Xamarin.Forms跨平台应用程序时,“此项目需要加载Visual Studio更新”错误 - “This project requires a Visual Studio update to load” error when creating a Xamarin.Forms Cross-Platform Application 跨平台应用Mono中的应用图标 - Application Icons in Mono for cross-platform application 在 Xamarin 跨平台应用程序中使用 WCF 服务 - Consume WCF service in Xamarin Cross Platform Application Monodevelop .Net跨平台定制绘图应用程序 - Monodevelop .Net cross platform custom drawing application 使用复杂的GUI编写跨平台应用程序 - Writing cross-platform application with a complex GUI Xamarin C#跨平台应用程序 - Xamarin C# Cross Platform Application 寻找跨平台开发Windows应用程序和Web应用程序的解决方案 - Looking for solution for cross platform development windows application and web application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM