Visual Studio and Linux?

a_unique_name 401 Reputation points
2023-02-26T17:52:27.2466667+00:00

Hello Folks:

I've recently been invited to work on a Linux project.

It's been about 20 years since I had the joy of developing under Solaris so I'm excited.

Last night I installed WSL. Umbutu is now running on a virtual machine under Windows.

I have been using Visual Studio for the last two decades

When we install or modify Visual Studio we see this among our choices:

linux

As you can see I did check the option, but I'm not seeing an obvious method to "Create and debug applications running in a Linux environment."

The option sounds like there is a Visual Studio that runs as a Linux application, but I'm fine if VS runs on Windows and there is seamless workflow with Linux running on the virtual machine.

What's the situation with debugging Visual Studio code running on Linux?

These pages make me wonder what the above screenshot is talking about:

https://learn.microsoft.com/en-us/answers/questions/177175/visual-studio-for-linux

https://visualstudiomagazine.com/articles/2022/07/26/vs-linux.aspx

There is Visual Studio Code for Linux, but isn't that more of an editor than an IDE?

Thanks
Larry

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Anna Xiu-MSFT 31,151 Reputation points Microsoft External Staff
    2023-02-27T08:53:50.2633333+00:00

    Hi @a_unique_name

    Welcome to Microsoft Q&A! 

    After installing the workload, you can use the Visual Studio on Windows to create and debug C++ projects that execute on a remote Linux system, virtual machine, or the WSL. 

    For more details, you can refer to: Linux with Visual Studio C++ documentation

    By the way, for Visual Studio IDE, it is installed on Windows. The Visual Studio is not supported on Linux system currently. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.