82 lines
2.1 KiB
Plaintext
82 lines
2.1 KiB
Plaintext
{
|
|
"folders": [
|
|
{
|
|
"path": "../yy-admin-master",
|
|
"name": "桌面端 (yy-admin-master)"
|
|
}
|
|
],
|
|
"settings": {
|
|
"dotnet.defaultSolution": "YY.Admin.Entry.sln",
|
|
"files.exclude": {
|
|
"**/_tmp_build_out": true,
|
|
"**/_build_verify_out": true,
|
|
"**/bin": true,
|
|
"**/obj": true
|
|
}
|
|
},
|
|
"launch": {
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "YY.Admin 一键启动",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"preLaunchTask": "YY.Admin: build",
|
|
"program": "${workspaceFolder}/YY.Admin/bin/Debug/net8.0-windows10.0.19041/win-x64/YY.Admin.exe",
|
|
"cwd": "${workspaceFolder}/YY.Admin/bin/Debug/net8.0-windows10.0.19041/win-x64",
|
|
"console": "internalConsole",
|
|
"stopAtEntry": false
|
|
}
|
|
]
|
|
},
|
|
"tasks": {
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "YY.Admin: restore",
|
|
"type": "process",
|
|
"command": "C:\\Program Files\\dotnet\\dotnet.exe",
|
|
"args": ["restore", "YY.Admin.Entry.sln"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "YY.Admin: build",
|
|
"type": "process",
|
|
"command": "C:\\Program Files\\dotnet\\dotnet.exe",
|
|
"args": ["build", "YY.Admin.Entry.sln", "-c", "Debug"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"dependsOn": "YY.Admin: restore",
|
|
"problemMatcher": "$msCompile",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "YY.Admin: run (script)",
|
|
"type": "process",
|
|
"command": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
|
|
"args": [
|
|
"-NoProfile",
|
|
"-ExecutionPolicy",
|
|
"Bypass",
|
|
"-File",
|
|
"${workspaceFolder}\\.vscode\\run-yyadmin.ps1"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
}
|
|
]
|
|
},
|
|
"extensions": {
|
|
"recommendations": ["ms-dotnettools.csharp", "ms-dotnettools.csdevkit"]
|
|
}
|
|
}
|