Create a VM that OS is windows, then install theĪnd choose the option C++ to install during the VS installation.Visual Studio Code and C/C++ build tools, please have a look at blog:īuilding your C++ application with Visual Studio Code > So, how can I write and run c++ programs on Visual Studio on a Mac?Īs far as I know, there have two options as below: Support C++ in Visual Studio for Mac and you can vote it, then waiting for the feedback from the Visual Studio Product Team. Visual Studio Product Team, please check this: There has no option to create C++ project in this version and some other community members reported this suggestion to the The Visual Studio for Mac, it is a developer environment optimized for building mobile and cloud apps with Xamarin and. Now we have two Visual Studio versions (Visual Studio for Mac, Visual Studio Code) that can directly install on the Mac (macOS), refer to your description, it looks like you installed