Skip to content

Commit bdd1c03

Browse files
NickSteesliborpansky
authored andcommitted
Bug: Fixed VScode launch not matching file names (#21)
* Bug: Fixed VScode launch not matching file names * Bug: Deleted launch.json and re-created it, reverted previous changes
1 parent 13970a4 commit bdd1c03

File tree

3 files changed

+100
-56
lines changed

3 files changed

+100
-56
lines changed

.vscode/launch.json

Lines changed: 32 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,34 @@
11
{
2-
// Use IntelliSense to find out which attributes exist for C# debugging
3-
// Use hover for the description of the existing attributes
4-
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5-
"version": "0.2.0",
6-
"configurations": [
7-
{
8-
"name": ".NET Core Launch (web)",
9-
"type": "coreclr",
10-
"request": "launch",
11-
"preLaunchTask": "build",
12-
// If you have changed target frameworks, make sure to update the program path.
13-
"program": "${workspaceFolder}/bin/Debug/netcoreapp2.1/asp-net-core-vue-starter.dll",
14-
"args": [],
15-
"cwd": "${workspaceFolder}",
16-
"stopAtEntry": false,
17-
"internalConsoleOptions": "openOnSessionStart",
18-
"launchBrowser": {
19-
"enabled": true,
20-
"args": "${auto-detect-url}",
21-
"windows": {
22-
"command": "cmd.exe",
23-
"args": "/C start ${auto-detect-url}"
24-
},
25-
"osx": {
26-
"command": "open"
27-
},
28-
"linux": {
29-
"command": "xdg-open"
30-
}
31-
},
32-
"env": {
33-
"ASPNETCORE_ENVIRONMENT": "Development"
34-
},
35-
"sourceFileMap": {
36-
"/Views": "${workspaceFolder}/Views"
37-
}
38-
},
39-
{
40-
"name": ".NET Core Attach",
41-
"type": "coreclr",
42-
"request": "attach",
43-
"processId": "${command:pickProcess}"
44-
}
45-
,]
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": ".NET Core Launch (web)",
9+
"type": "coreclr",
10+
"request": "launch",
11+
"preLaunchTask": "build",
12+
"program": "${workspaceFolder}/bin/Debug/netcoreapp3.0/AspNetCoreVueStarter.dll",
13+
"args": [],
14+
"cwd": "${workspaceFolder}",
15+
"stopAtEntry": false,
16+
"serverReadyAction": {
17+
"action": "openExternally",
18+
"pattern": "^\\s*Now listening on:\\s+(https?://\\S+)"
19+
},
20+
"env": {
21+
"ASPNETCORE_ENVIRONMENT": "Development"
22+
},
23+
"sourceFileMap": {
24+
"/Views": "${workspaceFolder}/Views"
25+
}
26+
},
27+
{
28+
"name": ".NET Core Attach",
29+
"type": "coreclr",
30+
"request": "attach",
31+
"processId": "${command:pickProcess}"
32+
}
33+
]
4634
}

.vscode/tasks.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,44 @@
77
"type": "process",
88
"args": [
99
"build",
10-
"${workspaceFolder}/asp-net-core-vue-starter.csproj"
10+
"${workspaceFolder}/AspNetCoreVueStarter.csproj",
11+
"/property:GenerateFullPaths=true",
12+
"/consoleloggerparameters:NoSummary"
13+
],
14+
"problemMatcher": "$msCompile"
15+
},
16+
{
17+
"label": "publish",
18+
"command": "dotnet",
19+
"type": "process",
20+
"args": [
21+
"publish",
22+
"${workspaceFolder}/AspNetCoreVueStarter.csproj",
23+
"/property:GenerateFullPaths=true",
24+
"/consoleloggerparameters:NoSummary"
25+
],
26+
"problemMatcher": "$msCompile"
27+
},
28+
{
29+
"label": "watch",
30+
"command": "dotnet",
31+
"type": "process",
32+
"args": [
33+
"watch",
34+
"run",
35+
"${workspaceFolder}/AspNetCoreVueStarter.csproj",
36+
"/property:GenerateFullPaths=true",
37+
"/consoleloggerparameters:NoSummary"
38+
],
39+
"problemMatcher": "$msCompile"
40+
},
41+
{
42+
"label": "build",
43+
"command": "dotnet",
44+
"type": "process",
45+
"args": [
46+
"build",
47+
"${workspaceFolder}/AspNetCoreVueStarter.csproj"
1148
],
1249
"problemMatcher": "$msCompile"
1350
}

ClientApp/package-lock.json

Lines changed: 30 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)