macos 如何在 Mac OSX 中安装 C#

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5415521/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 07:51:57  来源:igfitidea点击:

How to install C# in Mac OSX

c#macos

提问by johan

can somebody pls tell me how to install C# in Mac OSX 10.6?

有人可以告诉我如何在 Mac OSX 10.6 中安装 C# 吗?

回答by Adrian Faciu

You can try something like Mono.

你可以试试Mono 之类的东西。

回答by ThisClark

Since Visual Studio 2017, Microsoft now offers support for Mac OS. Developers can get the community edition for free which comes with the option to install C# and the .NET framework. However, the .NET framework appears to be limited at this time of writing to version 2.1 on Mac OS.

自 Visual Studio 2017 起,Microsoft 现在提供对 Mac OS 的支持。开发人员可以免费获得社区版,其中包含安装 C# 和 .NET 框架的选项。但是,.NET 框架在 Mac OS 上写入 2.1 版时似乎受到限制。

Aside, I understand this version also includes support for iOS, Android, and Unity.

除此之外,我知道这个版本还包括对 iOS、Android 和 Unity 的支持。

... not to be confused with the lightweight Visual Studio Code.

...不要与轻量级的 Visual Studio Code 混淆。