Skip to content

Commit 757b597

Browse files
TylerMSFTTylerMSFT
authored andcommitted
incorp review feedback
1 parent 06f4a20 commit 757b597

2 files changed

Lines changed: 19 additions & 14 deletions

File tree

‎docs/build/creating-and-managing-visual-cpp-projects.md‎

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
11
---
22
description: "Learn more about: creating and configuring Visual Studio C++ projects"
33
title: "Visual Studio Projects - C++"
4-
ms.date: 04/19/2022
4+
ms.date: 04/20/2022
55
helpviewer_keywords: ["Visual Studio C++ projects, creating", "projects [C++], creating", "Visual Studio C++ projects"]
66
---
77
# Visual Studio projects - C++
88

99
A *Visual Studio project* is a collection of code files and assets such as icons, images, and so on, that are built together using the MSBuild build system. MSBuild is the native build system for Visual Studio and is generally the best build system to use for Windows-specific programs. MSBuild is tightly integrated with Visual Studio, but you can also use it from the command line.
1010

11-
For cross-platform projects, or projects that use open-source libraries, we recommend using [CMake projects in Visual Studio](cmake-projects-in-visual-studio.md) in Visual Studio 2017 and later. For information about upgrading MSBuild projects from older versions of Visual Studio, see the [Microsoft C++ Porting and Upgrading Guide](../porting/visual-cpp-porting-and-upgrading-guide.md).
11+
For information about upgrading MSBuild projects from older versions of Visual Studio, see the [Microsoft C++ Porting and Upgrading Guide](../porting/visual-cpp-porting-and-upgrading-guide.md).
12+
13+
For cross-platform projects, or projects that use open-source libraries, we recommend using [CMake projects in Visual Studio](cmake-projects-in-visual-studio.md) in Visual Studio 2017 and later.
1214

1315
## Create a Visual Studio C++ project
1416

1517
::: moniker range=">=msvc-160"
1618

1719
1. Create a C++ project by choosing **File** > **New** > **Project**.
18-
1. Set the **Language** to C++.
19-
1. In the results list, you'll see a list of project templates. Filter the templates them by setting the **Platform** or **Project Type** and then by typing keywords into the search box.
20+
1. In the **Create a new project** dialog, set the **Language** dropdown to **C++**. This filters the list of project templates to C++ projects. You can filter the templates by setting the **Platform**, **Project Type**, or by entering keywords in the search box.
21+
1. Select a project template, then choose **Next**.
22+
1. On the **Configure your new project page**, enter project-specific settings such as the project name or location and then choose **Create** to create your project.
2023

2124
![Screenshot of the Create a new project wizard. The Console App project template is selected.](../build/media/vs2019-choose-console-app.png)
2225

@@ -25,7 +28,7 @@ For cross-platform projects, or projects that use open-source libraries, we reco
2528
::: moniker range="msvc-150"
2629

2730
1. Create a C++ project by choosing **File** > **New** > **Project**.
28-
1. Choose **Visual C++** in the left pane. In the center pane, a list of project templates will appear:
31+
1. Choose **Visual C++** in the left pane. In the center pane, a list of project templates appears:
2932

3033
![Screenshot of the New Project dialog, showing available project templates for C++ such as Windows Console Application.](../overview/media/vs2017-new-project.png "Visual Studio 2017 New Project Dialog")
3134

@@ -47,9 +50,11 @@ The solution file coordinates build dependencies when you have multiple related
4750

4851
Add source code files, icons, or any other items to your project by right-clicking on the project in **Solution Explorer** and choosing **Add > New** or **Add > Existing**.
4952

50-
## Add third party libraries to a project
53+
## Add third-party libraries to a project
54+
55+
Over 900 C++ open source libraries are available via the [vcpkg](https://vcpkg.io/) package manager. Run the Visual Studio integration step to set up the paths to that library when you reference it from any Visual Studio project.
5156

52-
To add third-party libraries, use the [vcpkg](https://vcpkg.io/) package manager. Run the Visual Studio integration step to set up the paths to that library when you reference it from any Visual Studio project.
57+
There are also commercial third-party libraries that you can install. Follow their installation instructions.
5358

5459
## Set compiler options and build properties
5560

@@ -59,7 +64,7 @@ To configure build settings for a project, right-click on the project in **Solut
5964

6065
To compile and run the new project, press **F5** or click the *debug dropdown* with the green arrow on the main toolbar. The *configuration dropdown* is where you choose whether to perform a *Debug* or *Release* build (or some other custom configuration).
6166

62-
A new project compiles without errors. When adding your own code, you may occasionally introduce an error or trigger a warning. An error prevents the build from completing; a warning doesn't. All errors and warnings will appear both in the Output Window and in the Error List when you build the project.
67+
A new project compiles without errors. When adding your own code, you may occasionally introduce an error or trigger a warning. An error prevents the build from completing; a warning doesn't. All errors and warnings appear both in the Output Window and in the Error List when you build the project.
6368

6469
![Screenshot of the Output window and Error list.](../overview/media/vs2017-output-error-list.png)
6570

‎docs/overview/visual-cpp-in-visual-studio.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: "C and C++ in Visual Studio"
3-
description: "Learn how to use the Microsoft C/C++ compiler, Visual Studio, and related tools to develop C++ and assembly programs for Windows, Linux, Android, and iOS. Learn what's new in Visual Studio C++ and how conformant it is with the C/C++ standards. Refresh your C/C++ language skills, learn about Visual Studio tools for developing C++ apps, and what C/C++ libraries are available for you to use to develop apps."
4-
ms.date: 04/19/2022
3+
description: "Learn how to use the Microsoft C/C++ compiler and related tools to develop C++ and assembly programs for Windows, Linux, Android, and iOS."
4+
ms.date: 04/20/2022
55
ms.technology: "cpp-ide"
6-
helpviewer_keywords: ["Visual C++, home page, "]
6+
helpviewer_keywords: ["Visual C++, home page"]
77
---
88
# C and C++ in Visual Studio
99

@@ -47,7 +47,7 @@ Microsoft Visual C++ (MSVC) refers to the C++, C, and assembly language developm
4747

4848
Visual Studio 2015, 2017, 2019, and 2022 can be installed side-by-side. You can use Visual Studio 2019 (compiler toolset v142) or Visual Studio 2017 (v141) to edit and build programs using the toolset from Visual Studio 2017 (v141) and Visual Studio 2015 (v140).
4949

50-
## What's new for C++ in Visual Studio and conformance progress
50+
## What's new for C++ in Visual Studio
5151

5252
[What's New for C++ in Visual Studio](what-s-new-for-visual-cpp-in-visual-studio.md)\
5353
Find out what's new in Visual Studio.
@@ -112,7 +112,7 @@ Use SAL annotations or the C++ Core Guidelines checkers to perform static analys
112112
[Write unit tests for C/C++ in Visual Studio](/visualstudio/test/writing-unit-tests-for-c-cpp)\
113113
Create unit tests using the Microsoft Unit Testing Framework for C++, Google Test, Boost.Test, or CTest.
114114

115-
## Write Visual Studio C/C++ applications
115+
## Write C/C++ applications using Visual Studio
116116

117117
[Desktop applications (C++)](../windows/desktop-applications-visual-cpp.md)\
118118
Learn how to create traditional native C++ desktop applications for Windows.
@@ -159,7 +159,7 @@ A common reference to the shared C and C++ language preprocessor.
159159
The reference guide to the Microsoft extensions to the C++ language for creating C++ Universal Windows Platform apps, C++ Windows runtime components that can be consumed by JavaScript-based Windows apps, and Windows DirectX games and graphics-intensive apps.
160160

161161
[C++/CLI language reference](https://www.ecma-international.org/wp-content/uploads/ECMA-372_1st_edition_december_2005.pdf)\
162-
The ECMA standard for the C++/CLI language.
162+
The ECMA standard for the C++/CLI programming language.
163163

164164
[Compiler intrinsics and assembly language](../intrinsics/compiler-intrinsics-and-assembly-language.md)\
165165
Guides to the compiler intrinsics supported or implemented by the Microsoft C/C++ compilers on each platform.

0 commit comments

Comments
 (0)