Skip to content

Commit 3837bd0

Browse files
committed
🚮 Clean up
- Update VSCode config. - Remove obsolete DrawerItem and Formats.
1 parent 4ac62fb commit 3837bd0

File tree

4 files changed

+58
-118
lines changed

4 files changed

+58
-118
lines changed

Diff for: ‎.vscode/launch.json

+10-15
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,22 @@
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": [
2+
"version": "0.2.0",
3+
"configurations": [
74
{
8-
"name": ".NET Core Launch (console)",
5+
"name": "Launch youtube-dl-wpf",
96
"type": "coreclr",
107
"request": "launch",
11-
"preLaunchTask": "build",
12-
// If you have changed target frameworks, make sure to update the program path.
13-
"program": "${workspaceFolder}/YoutubeDl.Wpf/bin/Debug/netcoreapp3.1/youtube-dl-wpf.dll",
8+
"preLaunchTask": "Build Solution (Debug)",
9+
"program": "${workspaceFolder}/YoutubeDl.Wpf/bin/Debug/net5.0/youtube-dl-wpf.dll",
1410
"args": [],
15-
"cwd": "${workspaceFolder}",
16-
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17-
"console": "internalConsole",
18-
"stopAtEntry": false
11+
"cwd": "${workspaceFolder}/YoutubeDl.Wpf/bin/Debug/net5.0",
12+
"stopAtEntry": false,
13+
"console": "integratedTerminal"
1914
},
2015
{
21-
"name": ".NET Core Attach",
16+
"name": ".NET Attach",
2217
"type": "coreclr",
2318
"request": "attach",
2419
"processId": "${command:pickProcess}"
2520
}
2621
]
27-
}
22+
}

Diff for: ‎.vscode/tasks.json

+48-4
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,75 @@
22
"version": "2.0.0",
33
"tasks": [
44
{
5-
"label": "build",
5+
"label": "Build Solution (Debug)",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"/property:GenerateFullPaths=true",
11+
"/consoleloggerparameters:NoSummary"
12+
],
13+
"problemMatcher": "$msCompile",
14+
"group": {
15+
"kind": "build",
16+
"isDefault": true
17+
}
18+
},
19+
{
20+
"label": "Build Solution (Release)",
21+
"command": "dotnet",
22+
"type": "process",
23+
"args": [
24+
"build",
25+
"-c",
26+
"Release",
27+
"/property:GenerateFullPaths=true",
28+
"/consoleloggerparameters:NoSummary"
29+
],
30+
"problemMatcher": "$msCompile"
31+
},
32+
{
33+
"label": "Build youtube-dl-wpf (Debug)",
34+
"command": "dotnet",
35+
"type": "process",
36+
"args": [
37+
"build",
38+
"${workspaceFolder}/YoutubeDl.Wpf/YoutubeDl.Wpf.csproj",
39+
"/property:GenerateFullPaths=true",
40+
"/consoleloggerparameters:NoSummary"
41+
],
42+
"problemMatcher": "$msCompile"
43+
},
44+
{
45+
"label": "Build youtube-dl-wpf (Release)",
646
"command": "dotnet",
747
"type": "process",
848
"args": [
949
"build",
1050
"${workspaceFolder}/YoutubeDl.Wpf/YoutubeDl.Wpf.csproj",
51+
"-c",
52+
"Release",
1153
"/property:GenerateFullPaths=true",
1254
"/consoleloggerparameters:NoSummary"
1355
],
1456
"problemMatcher": "$msCompile"
1557
},
1658
{
17-
"label": "publish",
59+
"label": "Publish youtube-dl-wpf as fxdependent",
1860
"command": "dotnet",
1961
"type": "process",
2062
"args": [
2163
"publish",
2264
"${workspaceFolder}/YoutubeDl.Wpf/YoutubeDl.Wpf.csproj",
65+
"-c",
66+
"Release",
2367
"/property:GenerateFullPaths=true",
2468
"/consoleloggerparameters:NoSummary"
2569
],
2670
"problemMatcher": "$msCompile"
2771
},
2872
{
29-
"label": "watch",
73+
"label": "Watch youtube-dl-wpf",
3074
"command": "dotnet",
3175
"type": "process",
3276
"args": [
@@ -39,4 +83,4 @@
3983
"problemMatcher": "$msCompile"
4084
}
4185
]
42-
}
86+
}

Diff for: ‎Formats.md

-71
This file was deleted.

Diff for: ‎YoutubeDl.Wpf/ViewModels/DrawerItem.cs

-28
This file was deleted.

0 commit comments

Comments
 (0)