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: debugger.md
+7-15Lines changed: 7 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,21 +2,14 @@
2
2
This page gives you detailed instructions on how to debug code running under .NET Core in VS Code.
3
3
4
4
#### Your Feedback
5
-
File bugs and feature requests [here](https://github.com/OmniSharp/omnisharp-vscode/issues)and [join our insiders group](http://landinghub.visualstudio.com/dotnetcoreinsiders)to help us build great tooling for .NET Core.
5
+
File bugs and feature requests [here](https://github.com/OmniSharp/omnisharp-vscode/issues) to help us build great tooling for .NET Core.
6
6
7
7
### First Time setup
8
8
##### 1: Get Visual Studio Code
9
-
Install Visual Studio Code (VSC). Pick the latest VSC version from here: https://code.visualstudio.com Make sure it is at least 1.5.
10
-
11
-
If you are not sure what version you have, you can see your version of VS Code:
12
-
13
-
***OSX:** Code->About Visual Studio Code
14
-
***Windows / Linux:** Help->About
9
+
Install Visual Studio Code (VS Code). Pick the latest VS Code version from here: https://code.visualstudio.com
15
10
16
11
##### 2: Install .NET command line tools
17
-
Install the .NET Core command line tools (CLI) by following the installation part of the instructions here: https://www.microsoft.com/net/core
Install the .NET Core command line tools (CLI) by following the installation part of the instructions here: https://dotnet.microsoft.com/download
20
13
21
14
##### 3: Install C# Extension for VS Code
22
15
Open the command palette in VS Code (press <kbd>F1</kbd>) and run `Extensions: Install Extensions`. Enter `C#` in the search box and press `Enter`. Select the extension and click on `Install`.
@@ -30,15 +23,14 @@ The first time that C# code is opened in VS Code, the extension will download th
30
23
### Once for each project
31
24
The following steps have to be executed for every project.
32
25
##### 1: Get a project
33
-
You can start from scratch by creating an empty project with `dotnet new`. Begin by opening the terminal in Visual Studio Code (`View->Integrated Terminal`) and type these commands:
26
+
You can start from scratch by creating an empty console project with `dotnet new`. Begin by opening the terminal in Visual Studio Code (`View->Integrated Terminal`) and type these commands:
34
27
35
28
cd ~
36
29
mkdir MyApplication
37
30
cd MyApplication
38
-
dotnet new
39
-
dotnet restore
40
-
41
-
If you want a web project (ASP.NET project) use `dotnet new web`. For web projects, makes sure to run `bower install` before running so that they can restore assets.
31
+
dotnet new console
32
+
33
+
See `dotnet new --list` for a list of all the available project templates.
42
34
43
35
##### 2: Open the directory in VS Code
44
36
Go to `File->Open Folder` (`File->Open` on macOS) and open the directory in Visual Studio Code. If this is the first time that the C# extension has been activated, it will now download additional platform-specific dependencies.
0 commit comments