You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core/tutorials/with-visual-studio-code.md
+10-8
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
1
---
2
-
title: Get started with Visual Studio Code - C# Guide
2
+
title: Get started with C# and Visual Studio Code - C# Guide | Microsoft Docs
3
3
description: Learn how to create and debug your first .NET Core application in C# using Visual Studio Code.
4
4
keywords: C#, Get Started, Acquisition, Install, Visual Studio Code, Cross Platform
5
5
author: kendrahavens
6
6
ms.author: mairaw
7
-
ms.date: 5/02/2017
7
+
ms.date: 8/01/2017
8
8
ms.topic: article
9
9
ms.prod: .net
10
10
ms.technology: devlang-csharp
11
11
ms.devlang: csharp
12
12
ms.assetid: 76c23597-4cf9-467e-8a47-0c3703ce37e7
13
13
---
14
14
15
-
# Get Started with Visual Studio Code
15
+
# Get Started with C# and Visual Studio Code
16
16
17
-
.NET Core gives you a fast and modular platform for creating server applications that run on Windows, Linux, and macOS. Use Visual Studio Code with the C# extension to get a powerful editing experience with full support for C# IntelliSense (smart code completion) and debugging.
17
+
.NET Core gives you a fast and modular platform for creating applications that run on Windows, Linux, and macOS. Use Visual Studio Code with the C# extension to get a powerful editing experience with full support for C# IntelliSense (smart code completion) and debugging.
18
18
19
19
## Prerequisites
20
20
@@ -37,17 +37,19 @@ Let's get started with a simple "Hello World" program on .NET Core:
37
37
* Alternatively, you can select **File** > **Open Folder** from the main menu to open your project folder.
38
38
39
39
2. Initialize a C# project:
40
-
* Open the Integrated Terminal from Visual Studio Code by typing <kbd>CTRL</kbd>+<kbd>\`</kbd> (backtick).
40
+
* Open the Integrated Terminal from Visual Studio Code by typing <kbd>CTRL</kbd>+<kbd>\`</kbd> (backtick). Alternatively, you can select **View** > **Integrated Terminal** from the main menu.
41
41
* In the terminal window, type `dotnet new console`.
42
42
* This creates a `Program.cs` file in your folder with a simple "Hello World" program already written, along with a C# project file named `HelloWorld.csproj`.
43
43
44
44

45
45
46
46
3. Resolve the build assets:
47
47
48
-
*Type`dotnet restore`. Running `dotnet restore` gives you access to the required .NET Core packages that are needed to build your project.
48
+
*For **.NET Core 1.1**, type`dotnet restore`. Running `dotnet restore` gives you access to the required .NET Core packages that are needed to build your project.
* For **.NET Core 2.0**, this step is optional. The `dotnet restore` command executes automatically when a new project is created.
51
53
52
54
4. Run the "Hello World" program:
53
55
@@ -83,7 +85,7 @@ You can also watch a short video tutorial for further setup help on [Windows](ht
83
85
84
86

85
87
86
-
7. Select the green arrow at the top to continue debugging, or press the red square to stop.
88
+
7. Select the green arrow at the top to continue debugging, or select the red square at the top to stop.
87
89
88
90
> [!TIP]
89
91
> For more information and troubleshooting tips on .NET Core debugging with OmniSharp in Visual Studio Code, see [Instructions for setting up the .NET Core debugger](https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger.md).
Copy file name to clipboardExpand all lines: docs/csharp/getting-started/index.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ The following topics are available:
28
28
29
29
A class library lets you define types and type members that can be called from another application. This topic lets you create a class library with a single method that determines whether a string begins with an uppercase character. Once you've finished building the library, you can develop a [unit test](testing-library-with-visual-studio.md) to ensure that it works as expected, and then you can make it available to [applications that want to consume it](consuming-library-with-visual-studio.md).
30
30
31
-
-[Get started with Visual Studio Code](with-visual-studio-code.md)
31
+
-[Get started with C# and Visual Studio Code](../../core/tutorials/with-visual-studio-code.md)
32
32
33
33
Visual Studio Code is a free code editor optimized for building and debugging modern web and cloud applications. It supports IntelliSense and is available for Linux, macOS, and Windows.
0 commit comments