Skip to content

Commit 5eeabdc

Browse files
authored
Merge pull request #92 from CSCfi/Add-vscode-development-configuration
Add VSCode development configuration files
2 parents fce494a + a0ce8e7 commit 5eeabdc

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

.vscode/launch.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Indexer (console)",
6+
"type": "coreclr",
7+
"request": "launch",
8+
"preLaunchTask": "build",
9+
"launchSettingsProfile": "ElasticSearchIndexer",
10+
// If you have changed target frameworks, make sure to update the program path.
11+
"program": "${workspaceFolder}/aspnetcore/src/Indexer/bin/Debug/net6.0/CSC.PublicApi.Indexer.dll",
12+
"args": [],
13+
"cwd": "${workspaceFolder}/aspnetcore/src/Indexer",
14+
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
15+
"console": "internalConsole",
16+
"stopAtEntry": false
17+
},
18+
{
19+
"name": "Interface (web)",
20+
"type": "coreclr",
21+
"request": "launch",
22+
"preLaunchTask": "build",
23+
"launchSettingsProfile": "Api",
24+
// If you have changed target frameworks, make sure to update the program path.
25+
"program": "${workspaceFolder}/aspnetcore/src/Interface/bin/Debug/net6.0/CSC.PublicApi.Interface.dll",
26+
"args": [],
27+
"cwd": "${workspaceFolder}/aspnetcore/src/Interface",
28+
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
29+
"console": "internalConsole",
30+
"stopAtEntry": false
31+
}
32+
]
33+
}

.vscode/tasks.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"${workspaceFolder}/aspnetcore/PublicApi.sln",
11+
"/property:GenerateFullPaths=true",
12+
"/consoleloggerparameters:NoSummary"
13+
],
14+
"problemMatcher": "$msCompile"
15+
},
16+
{
17+
"label": "publish",
18+
"command": "dotnet",
19+
"type": "process",
20+
"args": [
21+
"publish",
22+
"${workspaceFolder}/aspnetcore/PublicApi.sln",
23+
"/property:GenerateFullPaths=true",
24+
"/consoleloggerparameters:NoSummary"
25+
],
26+
"problemMatcher": "$msCompile"
27+
},
28+
{
29+
"label": "watch",
30+
"command": "dotnet",
31+
"type": "process",
32+
"args": [
33+
"watch",
34+
"run",
35+
"--project",
36+
"${workspaceFolder}/aspnetcore/PublicApi.sln"
37+
],
38+
"problemMatcher": "$msCompile"
39+
}
40+
]
41+
}

0 commit comments

Comments
 (0)