Skip to content

Commit 32cb515

Browse files
committed
Add VSCode launch config.
1 parent 8329821 commit 32cb515

File tree

3 files changed

+59
-0
lines changed

3 files changed

+59
-0
lines changed

.vscode/launch.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "ILSpy",
9+
"type": "coreclr",
10+
"request": "launch",
11+
"preLaunchTask": "build",
12+
"program": "${workspaceFolder}/ILSpy/bin/Debug/net10.0-windows/ILSpy.exe",
13+
"args": ["--newinstance"],
14+
"cwd": "${workspaceFolder}",
15+
"console": "internalConsole",
16+
"stopAtEntry": false
17+
},
18+
{
19+
"name": ".NET Core Attach",
20+
"type": "coreclr",
21+
"request": "attach"
22+
}
23+
]
24+
}

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"dotnet-test-explorer.testProjectPath": "*.Tests/*Tests.csproj",
3+
"files.exclude": {
4+
"ILSpy-tests/**": true
5+
},
6+
"dotnet.defaultSolution": "ILSpy.sln",
7+
}

.vscode/tasks.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "build",
8+
"type": "shell",
9+
"command": "dotnet",
10+
"args": [
11+
"build",
12+
// Ask msbuild to generate full paths for file names.
13+
"/property:GenerateFullPaths=true",
14+
"/t:build",
15+
// Do not generate summary otherwise it leads to duplicate errors in Problems panel
16+
"/consoleloggerparameters:NoSummary",
17+
"ILSpy/ILSpy.csproj"
18+
],
19+
"group": "build",
20+
"presentation": {
21+
// Reveal the output only if unrecognized errors occur.
22+
"reveal": "silent"
23+
},
24+
// Use the standard MS compiler pattern to detect errors, warnings and infos
25+
"problemMatcher": "$msCompile"
26+
}
27+
]
28+
}

0 commit comments

Comments
 (0)