有没有一种方法可以使用Visual Studio编译macOS c ++项目? [英] Is there a way to use Visual Studio to compile macOS c++ projects ?

查看:409
本文介绍了有没有一种方法可以使用Visual Studio编译macOS c ++项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关于使用VS 2015进行跨平台移动开发的信息,现在有VS for Mac.

我的问题是:有没有一种方法可以使用VS来为Mac OS编译C ++/ObjC项目?

如果没有,是否有任何计划?

There is information about cross platform mobile development using VS 2015, there is now VS for Mac.

My question is: Is there a way to use VS to compile C++/ObjC projects for mac OS ?

If not, is there any plans to do so ?

谢谢

推荐答案

高像素,

根据Visual Studio for Mac Preview下载站点上的信息,它可以" 云,iOS,Android, macOS 和可穿戴设备".

According to information from Visual Studio for Mac Preview download site, it could "Build apps for the cloud, iOS, Android, macOS, and wearables".

https://www.visualstudio.com/vs/visual-studio-mac/

它还提到它支持"本地应用 iOS,watchOS,tvOS和 macOS ";在以下链接中.

And it also mentioned that it supports "Native apps for iOS, watchOS, tvOS and macOS" in following link.

https://developer.xamarin.com/visual-studio-mac/

如果要使用Visual Studio 2015的当前版本,则需要选择Platform Toolset作为XCode,如C ++项目属性页中的屏幕截图所示.它将允许您为macOS编译C ++项目.

If you want to use current version of Visual Studio 2015, you need to choose Platform Toolset as XCode as below screenshot shows in C++ Project Properties page. It will allow you compile your C++ project for macOS.

但是,如果要调试此应用程序,则需要通过Visual Studio将其部署到iOS设备上.

But if you want to debug this app, you need to deploy it to an iOS device through Visual Studio.

最好的问候,
Weiwei

Best Regards,
Weiwei


这篇关于有没有一种方法可以使用Visual Studio编译macOS c ++项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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