Skip to content

Commit 5b87ed3

Browse files
author
Michael Blome
committed
updates per content freshness review
1 parent 2830581 commit 5b87ed3

5 files changed

+27
-13
lines changed

docs/linux/connect-to-your-remote-linux-computer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ When building a C++ Linux project in Visual Studio, Linux code is copied to your
3333
| **User name** | User to authenticate as
3434
| **Authentication type** | Password or Private Key are both supported
3535
| **Password** | Password for the entered user name
36-
| **Private key file** | Private key created for ssh connection
36+
| **Private key file** | Private key file created for ssh connection
3737
| **Passphrase** | Passphrase used with private key selected above
3838

3939
1. Click the **Connect** button to attempt a connection to the remote computer. If the connection fails, the entry boxes which need to be changed will be outlined in red.

docs/linux/create-a-new-linux-project.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Create a new C++ Linux project in Visual Studio | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "07/20/2018"
4+
ms.date: "08/16/2018"
55
ms.technology: ["cpp-linux"]
66
ms.tgt_pltfrm: "Linux"
77
ms.topic: "conceptual"
@@ -12,6 +12,9 @@ ms.workload: ["cplusplus", "linux"]
1212
---
1313

1414
# Create a New Linux Project
15+
16+
First, make sure you have the **Linux Development Workload** for Visual Studio installed. For more information, see [Download, install, and setup the Linux workload](download-install-and-setup-the-linux-development-workload.md).
17+
1518
When coding C++ in Visual Studio for Linux, you have the choice of creating a Visual Studio project, or a CMake project. This topic describes how to create a Visual Studio project. For information about CMake Projects, see [Configure a Linux CMake Project ](cmake-linux-project.md).
1619

1720
To create a new Linux project in Visual Studio, do the following:

docs/linux/deploy-run-and-debug-your-linux-project.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Deploy, run, and debug your C++ Linux project in Visual Studio | Microsoft Docs"
33
description: "Describes how to compile, execute, and debug code on the remote target from inside a Linux C++ project in Visual Studio."
44
ms.custom: ""
5-
ms.date: "07/20/2018"
5+
ms.date: "08/16/2018"
66
ms.technology: ["cpp-linux"]
77
ms.tgt_pltfrm: "Linux"
88
ms.topic: "conceptual"

docs/linux/download-install-and-setup-the-linux-development-workload.md

+21-10
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
title: "Install the C++ Linux workload in Visual Studio | Microsoft Docs"
33
description: "Describes how to download, install, and setup the Linux workload for C++ in Visual Studio."
44
ms.custom: ""
5-
ms.date: "07/20/2018"
5+
ms.date: "08/16/2018"
66
ms.technology: ["cpp-linux"]
7-
ms.tgt_pltfrm: "Linux"
7+
ms.tgt_pltfrm: "Linux
88
ms.topic: "conceptual"
99
ms.assetid: e11b40b2-f3a4-4f06-b788-73334d58dfd9
1010
author: "corob-msft"
@@ -14,26 +14,37 @@ ms.workload: ["cplusplus", "linux"]
1414

1515
# Download, install, and setup the Linux workload
1616

17-
To use the Visual Studio IDE to create and debug C++ projects on Linux, you must install the **Linux development with C++** workload.
17+
You can use the Visual Studio IDE in Windows to create, edit and debug C++ projects that execute on a Linux physical computer, virtual machine, or the [Windows Subsystem for Linux](/windows/wsl/about). For any of these scenarios, first install the **Linux development with C++** workload.
1818

1919
## Visual Studio setup
20-
1. Start the Visual Studio installer and select the **Linux development with C++** workload.
2120

22-
![Visual C++ for Linux Development extension](media/linuxworkload.png)
21+
1. Type "Visual Studio Installer" in the Windows search menu, look for it under the **Apps** results and double-click it. When the installer opens, choose **Modify**, and then click on the **Workloads** tab. Scroll down to **Other toolsets** and select the **Linux development with C++** workload.
2322

24-
2. Click **Install** to continue with the installation.
23+
![Visual C++ for Linux Development workload](media/linuxworkload.png)
24+
25+
1. If you use CMake or you are targeting IoT or embedded platforms, go to the **Installation details** pane on the right, under **Linux development with C++**, expand **Optional Components** and choose the components you need.
26+
27+
1. Click **Modify** to continue with the installation.
28+
29+
30+
## Options for creating a Linux environment
31+
32+
If you don't already have a Linux machine, you can create a Linux Virtual Machine on Azure. For more information, see [Quickstart: Create a Linux virtual machine in the Azure portal](/azure/virtual-machines/linux/quick-create-portal).
33+
34+
Another option, on Windows 10, is to activate the Windows Subsystem for Linux. For more information, see [Windows 10 Installation Guide](/windows/wsl/install-win10).
2535

2636
## Linux setup
27-
The target Linux computer must have **openssh-server**, **g++**, **gdb**, and **gdbserver** installed, and the ssh daemon must be running. If these are not already present, you can install them as follows:
28-
37+
38+
The target Linux computer must have **openssh-server**, **g++**, **gdb**, and **gdbserver** installed, and the ssh daemon must be running. **zip** is required for automatic syncing of remote headers with your local machine for Intellisense support. If these applications are not already present, you can install them as follows:
39+
2940
1. At a shell prompt on your Linux computer, run:
3041

31-
`sudo apt-get install openssh-server g++ gdb gdbserver`
42+
`sudo apt-get install openssh-server g++ gdb gdbserver zip`
3243

3344
You may be prompted for your root password due to the sudo command. If so, enter it and continue. Once complete, these services and tools will be installed.
3445

3546
1. Ensure the ssh service is running on your Linux computer by running:
3647

3748
`sudo service ssh start`
38-
49+
3950
This will start the service and run it in the background, ready to accept connections.

docs/linux/media/linuxworkload.png

-5.28 KB
Loading

0 commit comments

Comments
 (0)