macos 在 MAC OS X 上打开 Visual Studio 项目

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11308538/
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 09:18:31  来源:igfitidea点击:

Open Visual Studio project on MAC OS X

visual-studio-2010macos

提问by matev

I have a c++ project in Visual Studio, and I need to run that project on MAC OS X computers. Is that possible?

我在 Visual Studio 中有一个 c++ 项目,我需要在 MAC OS X 计算机上运行该项目。那可能吗?

回答by J?rgen R

MonoDevelopCan be used to open and manipulate Visual Studio project on a Mac. It can however only open .csprojfiles, not the legacy .vcproj. You can convert your old project to a compatible one, using Visual Studio Conversion Wizard.

MonoDevelop可用于在 Mac 上打开和操作 Visual Studio 项目。但是它只能打开.csproj文件,不能打开遗留的.vcproj. 您可以使用Visual Studio 转换向导将旧项目转换为兼容的项目。

As you are working with C++, you are however free to use any IDE or editor you like. As long as loosing your project metadata files isn't a problem, you can just open the files in Xcode, TextMate, Sublime Editor or any editor of choice.

当您使用 C++ 时,您可以随意使用任何您喜欢的 IDE 或编辑器。只要丢失项目元数据文件不是问题,您就可以在 Xcode、TextMate、Sublime Editor 或任何选择的编辑器中打开文件。

回答by Curiousity

Even though it's several years after asking this question, there is a possibility at last.

尽管问这个问题已经过去了几年,但最终还是有可能的。

You can now install Visual Studio Codeon Mac and work with C++. Here's howyou can do it.

您现在可以在 Mac 上安装Visual Studio Code并使用 C++。这是您如何做到的。

回答by Aaron Kempf

There are SOME things you can do with Visual Studio Projects / Solutions on a Mac if you use Expression Studio.

如果您使用 Expression Studio,您可以在 Mac 上使用 Visual Studio 项目/解决方案做一些事情。