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
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 31,056 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 Answers by the question author, which helps users to know the answer solved the author's problem.