Skip to content

Commit 74b94c1

Browse files
committed
VS Code fix
1 parent 757da5c commit 74b94c1

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

.vscode/launch.json

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,30 @@
1212
// If you have changed target frameworks, make sure to update the program path.
1313
"program": "${workspaceFolder}/Blogifier.Web/bin/Debug/netcoreapp2.0/Blogifier.Web.dll",
1414
"args": [],
15-
"cwd": "${workspaceFolder}/Blogifier.Test",
15+
"cwd": "${workspaceFolder}/Blogifier.Web",
1616
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
17-
"console": "internalConsole",
1817
"stopAtEntry": false,
19-
"internalConsoleOptions": "openOnSessionStart"
18+
"internalConsoleOptions": "openOnSessionStart",
19+
"launchBrowser": {
20+
"enabled": true,
21+
"args": "${auto-detect-url}",
22+
"windows": {
23+
"command": "cmd.exe",
24+
"args": "/C start ${auto-detect-url}"
25+
},
26+
"osx": {
27+
"command": "open"
28+
},
29+
"linux": {
30+
"command": "xdg-open"
31+
}
32+
},
33+
"env": {
34+
"ASPNETCORE_ENVIRONMENT": "Development"
35+
},
36+
"sourceFileMap": {
37+
"/Views": "${workspaceFolder}/Blogifier.Web/Views"
38+
}
2039
},
2140
{
2241
"name": ".NET Core Attach",

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"version": "2.0.0",
33
"tasks": [
44
{
5-
"taskName": "build",
5+
"label": "build",
66
"command": "dotnet",
77
"type": "process",
88
"args": [

0 commit comments

Comments
 (0)