diff --git a/.vscode/launch.json b/.vscode/launch.json index 9940d7d0..37332117 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,7 +6,7 @@ "configurations": [ { - "name": ".NET Core Launch (console)", + "name": ".NET Core Launch (console) Windows", "type": "coreclr", "request": "launch", "preLaunchTask": "build", @@ -15,6 +15,17 @@ "cwd": "${workspaceFolder}", "stopAtEntry": false, "console": "internalConsole" + }, + { + "name": ".NET Core Launch (console) Linux", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build_linux", + "program": "${workspaceFolder}/Source/bin/Avalonia/Debug/Libation.dll", + "args": [], + "cwd": "${workspaceFolder}", + "stopAtEntry": false, + "console": "internalConsole" } ] diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 2ba35f87..ef347042 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -37,6 +37,23 @@ //"reveal": "silent" }, "problemMatcher": "$msCompile" + }, + { + "label": "build_linux", + "type": "shell", + "command": "dotnet", + "args": [ + "build", + "${workspaceFolder}/Source/LibationAvalonia/LibationAvalonia.csproj", + "-p:TargetFramework=net9.0", + "-p:TargetFrameworks=net9.0", + "-p:RuntimeIdentifier=linux-x64" + ], + "group": "build", + "presentation": { + //"reveal": "silent" + }, + "problemMatcher": "$msCompile" } ] } \ No newline at end of file