Implement backup and restore functionality; add IBackupService and BackupService; refactor services to use DbContextFactory
This commit is contained in:
35
.vscode/tasks.json
vendored
35
.vscode/tasks.json
vendored
@@ -22,6 +22,37 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "publish",
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
"publish",
|
||||
"${workspaceFolder}/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj",
|
||||
"-c",
|
||||
"Release",
|
||||
"-r",
|
||||
"win-x64",
|
||||
"--self-contained",
|
||||
"true",
|
||||
"/p:PublishSingleFile=true",
|
||||
"/p:EnableCompressionInSingleFile=true",
|
||||
"/p:IncludeNativeLibrariesForSelfExtract=true",
|
||||
"/p:IncludeAllContentForSelfExtract=true",
|
||||
"/p:DebugType=None",
|
||||
"/p:DebugSymbols=false",
|
||||
"-o",
|
||||
"${workspaceFolder}/Publish"
|
||||
],
|
||||
"problemMatcher": "$msCompile",
|
||||
"options": {
|
||||
"statusbar": {
|
||||
"label": "$(package) Publish",
|
||||
"color": "#22c55e",
|
||||
"detail": "Publish desktop app into Publish folder"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "watch",
|
||||
"command": "dotnet",
|
||||
@@ -34,6 +65,10 @@
|
||||
],
|
||||
"problemMatcher": "$msCompile",
|
||||
"isBackground": true,
|
||||
"presentation": {
|
||||
"reveal": "never",
|
||||
"panel": "dedicated"
|
||||
},
|
||||
"options": {
|
||||
"statusbar": {
|
||||
"label": "$(eye) Watch",
|
||||
|
||||
Reference in New Issue
Block a user