Skip to content

Commit

Permalink
setup GitPod environment
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaBs committed Jan 21, 2023
1 parent fd8e2f6 commit c4d544d
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
image: gitpod/workspace-dotnet
image: gitpod/workspace-dotnet-vnc
vscode:
extensions:
- muhammad-sammy.csharp
27 changes: 27 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"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)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/CmlLibCoreSample/bin/Debug/net7.0/CmlLibCoreSample.dll",
"args": [],
"cwd": "${workspaceFolder}/CmlLibCoreSample",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
41 changes: 41 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/CmlLibCoreSample/CmlLibCoreSample.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/CmlLibCoreSample/CmlLibCoreSample.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/CmlLibCoreSample/CmlLibCoreSample.csproj"
],
"problemMatcher": "$msCompile"
}
]
}

0 comments on commit c4d544d

Please sign in to comment.