Skip to content

Repo sync for protected CLA branch #6260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jan 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/containers/container-launch-settings.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Visual Studio Container Tools launch settings
author: ghogen
description: Overview of the Container Tools build process
description: Learn about the launch settings for Container Tools that are related to how Visual Studio handles containerized apps.
ms.author: ghogen
ms.date: 08/15/2019
ms.technology: vs-azure
Expand Down
2 changes: 1 addition & 1 deletion docs/containers/container-msbuild-properties.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Visual Studio Container Tools build properties
author: ghogen
description: Overview of the Container Tools build process
description: Learn how to edit the Container Tools build properties to customize how Visual Studio builds and runs a container project.
ms.author: ghogen
ms.date: 06/06/2019
ms.technology: vs-azure
Expand Down
2 changes: 1 addition & 1 deletion docs/containers/docker-compose-properties.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Docker Compose build settings
author: ghogen
description: Overview of the Container Tools build process
description: Learn how to edit the Docker Compose build properties to customize how Visual Studio builds and runs a Docker Compose application.
ms.custom: SEO-VS-2020
ms.author: ghogen
ms.date: 08/12/2019
Expand Down
2 changes: 1 addition & 1 deletion docs/debugger/debug-live-azure-applications.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Debug live ASP.NET Azure apps
titleSuffix: Visual Studio Enterprise
description: Learn how to set snappoints and view snapshots with the Snapshot Debugger.
description: Learn how to use the Snapshot Debugger in Visual Studio to set snappoints and take snapshots while debugging live ASP.NET Azure applications.
ms.custom:
ms.date: 03/16/2018
ms.topic: how-to
Expand Down
2 changes: 1 addition & 1 deletion docs/debugger/debug-live-azure-kubernetes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Debug live ASP.NET Azure Kubernetes Services
description: Learn how to set snappoints and view snapshots with the Snapshot Debugger.
description: Learn how to use the Snapshot Debugger in Visual Studio to set snappoints and take snapshots while debugging live ASP.NET Azure Kubernetes Services.
ms.custom:
ms.date: 02/11/2019
ms.topic: how-to
Expand Down
2 changes: 1 addition & 1 deletion docs/debugger/debug-live-azure-virtual-machines.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Debug live ASP.NET Azure VM and scale sets
description: Learn how to set snappoints and view snapshots with the Snapshot Debugger.
description: Learn how to use the Snapshot Debugger in Visual Studio to set snappoints and take snapshots while debugging live ASP.NET apps on Azure VMs and scale sets.
ms.custom: SEO-VS-2020
ms.date: 02/06/2019
ms.topic: how-to
Expand Down
2 changes: 1 addition & 1 deletion docs/debugger/expressions-in-the-debugger.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Expressions in the debugger | Microsoft Docs"
description: Edit and Continue is available for Visual C# projects. Learn what edits are supported, and how to can control whether, and when, your edits are applied.
description: Learn which language expressions are not supported by the expression evaluators in the Visual Studio debugger.
ms.custom: SEO-VS-2020
ms.date: "03/02/2020"
ms.topic: "conceptual"
Expand Down
2 changes: 1 addition & 1 deletion docs/debugger/getting-started-with-the-debugger-cpp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Tutorial: Debug C++ code"
description: "Learn how to start the Visual Studio debugger, step through code, and inspect data."
description: Learn features of the Visual Studio debugger and how to start the debugger, step through code, and inspect data in a C++ application.
ms.custom: "debug-experiment, seodec18, get-started"
ms.date: 02/04/2020
ms.technology: "vs-ide-debug"
Expand Down
2 changes: 1 addition & 1 deletion docs/get-started/csharp/tutorial-debugger.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Tutorial: Debug C# code"
description: Learn features of the Visual Studio debugger and how to start the debugger, step through code, and inspect data.
description: Learn features of the Visual Studio debugger and how to start the debugger, step through code, and inspect data in a C# application.
ms.custom: "debug-experiment, seodec18, get-started"
ms.date: 04/23/2020
ms.technology: "vs-ide-debug"
Expand Down
2 changes: 1 addition & 1 deletion docs/get-started/visual-basic/tutorial-debugger.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Tutorial: Debug Visual Basic code"
description: "Learn how to start the Visual Studio debugger, step through code, and inspect data."
description: Learn features of the Visual Studio debugger and how to start the debugger, step through code, and inspect data in a Visual Basic application.
ms.custom: "debug-experiment, seodec18, get-started"
ms.date: 02/03/2020
ms.technology: "vs-ide-debug"
Expand Down
3 changes: 2 additions & 1 deletion docs/ide/create-new-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,5 @@ If you want to add an additional project to a solution, right-click the solution

- [Introduction to projects and solutions](../get-started/tutorial-projects-solutions.md)
- [Work with solutions and projects](creating-solutions-and-projects.md)
- [Manage project and solution properties](managing-project-and-solution-properties.md)
- [Manage project and solution properties](managing-project-and-solution-properties.md)
- [Create projects (Visual Studio for Mac)](/visualstudio/mac/create-new-projects)
1 change: 0 additions & 1 deletion docs/ide/creating-solutions-and-projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,3 @@ You can access File Explorer in Windows by using Solution Explorer in Visual Stu
- [Microsoft's open source repositories on GitHub](https://github.com/Microsoft)
- [Developer code samples](https://code.msdn.microsoft.com/)
- [Resources for troubleshooting Visual Studio IDE errors](./reference/resources-for-troubleshooting-integrated-development-environment-errors.md)
- [Create projects (Visual Studio for Mac)](/visualstudio/mac/create-new-projects)
Binary file added docs/ide/media/solution-explorer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 23 additions & 11 deletions docs/ide/solutions-and-projects-in-visual-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Learn about solutions and projects
description: Learn about Visual Studio projects and solutions, how to create new projects from a template, and how to view & manage projects in Solution Explorer.
ms.custom: "SEO-VS-2020, contperf-fy21q2"
ms.date: 12/17/2020
ms.date: 12/31/2020
ms.topic: conceptual
f1_keywords:
- vs.addnewitem
Expand Down Expand Up @@ -43,6 +43,14 @@ Project files are based on the [MSBuild XML schema](../msbuild/msbuild-project-f
> [!NOTE]
> You don't have to use solutions or projects in Visual Studio to edit, build, and debug code. You can simply open the folder that contains your source files in Visual Studio and start editing. For more information, see [Develop code in Visual Studio without projects or solutions](../ide/develop-code-in-visual-studio-without-projects-or-solutions.md).

### Create new projects

The easiest way to create a new project is to use a project template for the project type you want. A project template includes a basic set of pre-generated code files, config files, assets, and settings. Use **File** > **New** > **Project** to select a project template. For more information, see [Create a new project](create-new-project.md).

You can also create a custom project template that you can use to create new projects from. For more information, see [Create project and item templates](../ide/creating-project-and-item-templates.md).

When you create a new project, Visual Studio saves it to its default location, *%USERPROFILE%\source\repos*. To change this location, go to **Tools** > **Options** > **Projects and Solutions** > **Locations**. For more information, see [Options dialog box: Projects and Solutions > Locations](./reference/projects-solutions-locations-options.md).

## Solutions

A project is contained within a *solution*. Despite its name, a solution is not an "answer". It's simply a container for one or more related projects, along with build information, Visual Studio window settings, and any miscellaneous files that aren't associated with a particular project.
Expand All @@ -63,26 +71,30 @@ Visual Studio uses two file types (*.sln* and *.suo*) to store settings for solu

A "solution folder" is a virtual folder that's only in **Solution Explorer**, where you can use it to group projects in a solution. If you want to locate a solution file on a computer, go to **Tools** > **Options** > **Projects and Solutions** > **Locations**. For more information, see [Options dialog box: Projects and Solutions > Locations](./reference/projects-solutions-locations-options.md).

## Create new projects

The easiest way to create a new project is to use a project template for the project type you want. A project template includes a basic set of pre-generated code files, config files, assets, and settings. Use **File** > **New** > **Project** to select a project template. For more information, see [Create a new project](create-new-project.md).

You can also create a custom project template that you can use to create new projects from. For more information, see [Create project and item templates](../ide/creating-project-and-item-templates.md).

When you create a new project, Visual Studio saves it to its default location, *%USERPROFILE%\source\repos*. To change this location, go to **Tools** > **Options** > **Projects and Solutions** > **Locations**. For more information, see [Options dialog box: Projects and Solutions > Locations](./reference/projects-solutions-locations-options.md).

> [!TIP]
> For an example of a project and solution created from scratch, complete with step-by-step instructions and sample code, see [Introduction to projects and solutions](../get-started/tutorial-projects-solutions.md).

## Solution Explorer

After you create a new project, you can use **Solution Explorer** to view and manage the project and solution and their associated items. The following illustration shows **Solution Explorer** with a C# solution that contains two projects:

::: moniker range="vs-2017"

![Screenshot of Solution Explorer with two projects.](../ide/media/vs2015_solution_explorer.png)

Many menu commands are available from the right-click menu on various items in **Solution Explorer**. These commands include building a project, managing NuGet packages, adding a reference, renaming a file, and running tests, just to name a few. The toolbar across the top of **Solution Explorer** has buttons to switch from a solution view to a folder view, show hidden files, collapse all nodes, and more.
The toolbar across the top of **Solution Explorer** has buttons to switch from a solution view to a folder view, show hidden files, collapse all nodes, and more.

::: moniker-end

::: moniker range="vs-2019"

![Screenshot of Solution Explorer with two projects in Visual Studio 2019.](../ide/media/solution-explorer.png)

The toolbar across the top of **Solution Explorer** has buttons to switch from a solution view to a folder view, filter pending changes, show all files, collapse all nodes, view [properties](managing-project-and-solution-properties.md) pages, preview code in the [code editor](writing-code-in-the-code-and-text-editor.md), and more.

::: moniker-end

To view a list of some of the icons that appear in Solution Explorer, see [Class View and Object Browser icons](class-view-and-object-browser-icons.md).
Many menu commands are available from the right-click context menu on various items in **Solution Explorer**. These commands include building a project, managing NuGet packages, adding a reference, renaming a file, and running tests, just to name a few.

> [!TIP]
> If you've closed Solution Explorer and you want to open it again, choose **Window** > **Reset Window Layout** from the menu bar.
Expand Down
2 changes: 1 addition & 1 deletion docs/install/workload-component-id-vs-community.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Visual Studio Community workload and component IDs
titleSuffix: ''
description: Use workload and component IDs to install Visual Studio by using the command line or to specify as a dependency in a VSIX manifest
description: Use Visual Studio Community workload and component IDs to install Visual Studio from the command line or specify a dependency in a VSIX manifest.
keywords:
author: ornellaalt
ms.author: ornella
Expand Down
2 changes: 1 addition & 1 deletion docs/install/workload-component-id-vs-enterprise.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Visual Studio Enterprise workload and component IDs
titleSuffix: ''
description: Use workload and component IDs to install Visual Studio by using the command line or to specify as a dependency in a VSIX manifest
description: Use Visual Studio Enterprise workload and component IDs to install Visual Studio from the command line or specify a dependency in a VSIX manifest.
keywords:
author: ornellaalt
ms.author: ornella
Expand Down
2 changes: 1 addition & 1 deletion docs/install/workload-component-id-vs-professional.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Visual Studio Professional workload and component IDs
titleSuffix: ''
description: Use workload and component IDs to install Visual Studio by using the command line or to specify as a dependency in a VSIX manifest
description: Use Visual Studio Professional workload and component IDs to install Visual Studio from the command line or specify a dependency in a VSIX manifest.
keywords:
author: ornellaalt
ms.author: ornella
Expand Down
2 changes: 1 addition & 1 deletion docs/javascript/compile-typescript-code-npm.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Compile and build TypeScript code using npm
description: Learn how to compile and build TypeScript in Visual Studio.
description: Learn how to add Typescript support to your Visual Studio projects by using the Node Package Manager (npm).
ms.date: 7/23/2020
ms.topic: conceptual
author: "mikejo5000"
Expand Down
2 changes: 1 addition & 1 deletion docs/javascript/compile-typescript-code-nuget.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Compile and build TypeScript code using NuGet
description: Learn how to compile and build TypeScript in Visual Studio.
description: Learn how to add Typescript support to your Visual Studio projects by using the NuGet package.
ms.date: 7/23/2020
ms.topic: conceptual
author: "mikejo5000"
Expand Down
2 changes: 1 addition & 1 deletion docs/javascript/tutorial-nodejs.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Create a Node.js and Express app"
description: In this tutorial, you create an app in using Node.js tools for Visual Studio
description: In this tutorial, learn how to create a simple Node.js application using the Express web application framework in Visual Studio.
ms.date: 04/20/2020
ms.topic: tutorial
ms.devlang: javascript
Expand Down
2 changes: 1 addition & 1 deletion mac/connected-services.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Connected Services"
description: "Add Azure data storage, authentication, and push notifications to mobile apps from within Visual Studio for Mac"
description: Learn how to add Azure data storage, authentication, and push notifications from within Visual Studio for Mac to a cross-platform application.
ms.assetid: 41CB62FF-0F39-4CE8-8917-6A77F058719F
author: sayedihashimi
ms.author: sayedha
Expand Down
2 changes: 1 addition & 1 deletion mac/set-up-subversion-repository.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Setting Up a Subversion Repository
description: Using Subversion in Visual Studio for Mac.
description: Learn how to install and set up Subversion as a centralized version control system in Visual Studio for Mac.
author: jmatthiesen
ms.author: jomatthi
ms.date: 05/06/2018
Expand Down
2 changes: 1 addition & 1 deletion mac/working-with-subversion.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Working with Subversion
description: Using Subversion in Visual Studio for Mac.
description: Learn how to work with Subversion as the centralized version control system in Visual Studio for Mac.
author: jmatthiesen
ms.author: jomatthi
ms.date: 05/06/2018
Expand Down