From a0ce8e7deb6ee814a16bd6be3d7df59fb740530a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Sa=CC=88rkikoski?= Date: Tue, 31 Oct 2023 12:26:01 +0200 Subject: [PATCH] Add VSCode development configuration files --- .vscode/launch.json | 33 +++++++++++++++++++++++++++++++++ .vscode/tasks.json | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..5968332 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,33 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Indexer (console)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + "launchSettingsProfile": "ElasticSearchIndexer", + // If you have changed target frameworks, make sure to update the program path. + "program": "${workspaceFolder}/aspnetcore/src/Indexer/bin/Debug/net6.0/CSC.PublicApi.Indexer.dll", + "args": [], + "cwd": "${workspaceFolder}/aspnetcore/src/Indexer", + // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console + "console": "internalConsole", + "stopAtEntry": false + }, + { + "name": "Interface (web)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + "launchSettingsProfile": "Api", + // If you have changed target frameworks, make sure to update the program path. + "program": "${workspaceFolder}/aspnetcore/src/Interface/bin/Debug/net6.0/CSC.PublicApi.Interface.dll", + "args": [], + "cwd": "${workspaceFolder}/aspnetcore/src/Interface", + // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console + "console": "internalConsole", + "stopAtEntry": false + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..c6ef4b1 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,41 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/aspnetcore/PublicApi.sln", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "publish", + "command": "dotnet", + "type": "process", + "args": [ + "publish", + "${workspaceFolder}/aspnetcore/PublicApi.sln", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "watch", + "command": "dotnet", + "type": "process", + "args": [ + "watch", + "run", + "--project", + "${workspaceFolder}/aspnetcore/PublicApi.sln" + ], + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file