Using C++ in Visual Studio Community 2017 on Mac?

22,353

Solution 1

From these links - https://www.visualstudio.com/vs/community/ - https://social.msdn.microsoft.com/Forums/vstudio/en-US/c879ea3b-e834-402a-847c-8214078beaa1/visual-studio-for-mac-c-empty-project?forum=visualstudiogeneral

VS Mac does not support C++

Solution 2

Check into this article on VS Code for Mac: VS Code for Mac

Talks about coding in C++ on Mac and how to install, configure, use, debug with etc. Haven't tried it personally.

Share:
22,353
Shades
Author by

Shades

I like programming, however, sometimes I need a bit of help... Which is why I'm here! :)

Updated on July 31, 2022

Comments

  • Shades
    Shades almost 2 years

    I installed Microsoft Visual Studio 2017 on my Mac recently, hoping to use it to program in C++. It appeared to install correctly, no errors occurred, but it seems to be missing support for C++. It will only allow me to make projects using C# and F#; I don't see C++ anywhere.

    Searching around, many people suggest opening up the Visual Studio Installer and add "C++ Tools" to VS. However, when I open up the visual studio installer, I only see the necessary packages to develop in Android, IOS, .NET, MacOS, and Xamarin.

    Where is C++? Do I need to configure visual studio some other way to be able to use it for C++?

  • Shades
    Shades over 6 years
    The moderator on the second link said specifically that the visual studio version for Mac does not support C++, it only supports " Mobile with .NET: Android, iOS, tvOS, watchOS Mac desktop apps .NET Core applications ASP.NET Core Web applications Cross-platform Unity games" I find this really disappointing. Who at microsoft decided they didn't need to include support for one of the most (if not the most) popular programming language in the world?
  • Richard Walters
    Richard Walters over 5 years
    OP is referring to Visual Studio for Mac, which is definitely not the same thing as Visual Studio Code. The former is a port of Xamarin Studio to the Mac. The latter is an Electron-based source code editor, with extensions to make it an IDE. Pretty much the only two things they have in common are "Visual Studio" is in the name, and they're both developed by Microsoft.