Skip to content

Commit

Permalink
Fix vscode launch tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
SaifAqqad committed Jan 28, 2023
1 parent f9f942b commit 9658863
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 42 deletions.
22 changes: 6 additions & 16 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,15 @@
"version": "0.2.0",
"configurations": [
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"name": ".NET Core Launch (console)",
"name": "SteamAuth",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/bin/Debug/net7.0-windows/steam-auth.dll",
"preLaunchTask": "build-SteamAuth",
"program": "${workspaceFolder}/SteamAuth.csproj/bin/Debug/net7.0/SteamAuth.dll",
"args": [],
"cwd": "${workspaceFolder}",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
"cwd": "${workspaceFolder}/SteamAuth.csproj",
"stopAtEntry": false,
"console": "internalConsole"
}
]
}
28 changes: 2 additions & 26 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,16 @@
"version": "2.0.0",
"tasks": [
{
"label": "build",
"label": "build-SteamAuth",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/steam-auth.csproj",
"${workspaceFolder}/SteamAuth.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/steam-auth.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/steam-auth.csproj"
],
"problemMatcher": "$msCompile"
}
]
}

0 comments on commit 9658863

Please sign in to comment.