Skip to content

Commit

Permalink
build(vscode): remove gitignore of vscode workspace settings, add tas…
Browse files Browse the repository at this point in the history
…ks/launch settings
  • Loading branch information
seangwright committed Jun 7, 2018
1 parent aad16b0 commit ff4612d
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Expand Up @@ -267,9 +267,6 @@ __pycache__/
CoreWiki/wwwroot/lib/
!CoreWiki/wwwroot/lib/simplemde

# VSCode
.vscode/

# Cake files
[Tt]ools/
[Oo]utput/
46 changes: 46 additions & 0 deletions .vscode/launch.json
@@ -0,0 +1,46 @@
{
// 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
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/CoreWiki/bin/Debug/netcoreapp2.1/CoreWiki.dll",
"args": [],
"cwd": "${workspaceFolder}/CoreWiki",
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart",
"launchBrowser": {
"enabled": true,
"args": "${auto-detect-url}",
"windows": {
"command": "cmd.exe",
"args": "/C start ${auto-detect-url}"
},
"osx": {
"command": "open"
},
"linux": {
"command": "xdg-open"
}
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
,]
}
15 changes: 15 additions & 0 deletions .vscode/tasks.json
@@ -0,0 +1,15 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/CoreWiki/CoreWiki.csproj"
],
"problemMatcher": "$msCompile"
}
]
}

0 comments on commit ff4612d

Please sign in to comment.