Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Add vscode startup config
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdecock committed Apr 19, 2024
1 parent 6bdb76c commit c415178
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ docs/_build/
tools/

# Visual Studio Code workspace options
.vscode
.vscode/settings.json

# IdentityServer temp files
identityserver4_log.txt
Expand Down
74 changes: 74 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "BlazorServer",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-blazorServer",
"program": "${workspaceFolder}/samples/BlazorServer/bin/Debug/net8.0/BlazorServer.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/BlazorServer",
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"console": "externalTerminal"
},
{
"name": "Web",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-web",
"program": "${workspaceFolder}/samples/Web/bin/Debug/net8.0/Web.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/Web",
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"console": "externalTerminal"
},
{
"name": "WebJarJwt",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-webJarJwt",
"program": "${workspaceFolder}/samples/WebJarJwt/bin/Debug/net8.0/WebJarJwt.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/WebJarJwt",
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"console": "externalTerminal"
},
{
"name": "Worker",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-worker",
"program": "${workspaceFolder}/samples/Worker/bin/Debug/net8.0/Worker.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/Worker",
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"console": "externalTerminal"
},
{
"name": "WorkerDI",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-workerDI",
"program": "${workspaceFolder}/samples/WorkerDI/bin/Debug/net8.0/WorkerDI.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/WorkerDI",
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"console": "externalTerminal"
}

]
}
77 changes: 77 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "build-web",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}/samples/Web/Web.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "build-blazorServer",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}/samples/BlazorServer/BlazorServer.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "build-webJarJwt",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}/samples/WebJarJwt/WebJarJwt.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "build-worker",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}/samples/Worker/Worker.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "build-workerDI",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}/samples/WorkerDI/WorkerDI.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
}
]
}

0 comments on commit c415178

Please sign in to comment.