diff --git a/.vscode/launch.json b/.vscode/launch.json index 9ccd32536..41d621b0f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -21,13 +21,13 @@ "request": "launch", "program": "dotnet", "args": [ - "${workspaceRoot}/osu.Framework.Tests/bin/Debug/net5.0/osu.Framework.Tests.dll", + "${workspaceRoot}/osu.Framework.Tests/bin/Debug/net6.0/osu.Framework.Tests.dll", ], "cwd": "${workspaceRoot}", "preLaunchTask": "Build (Debug)", "linux": { "env": { - "LD_LIBRARY_PATH": "${workspaceRoot}/osu.Framework.Tests/bin/Debug/net5.0:${env:LD_LIBRARY_PATH}" + "LD_LIBRARY_PATH": "${workspaceRoot}/osu.Framework.Tests/bin/Debug/net6.0:${env:LD_LIBRARY_PATH}" } }, "console": "internalConsole" @@ -38,13 +38,47 @@ "request": "launch", "program": "dotnet", "args": [ - "${workspaceRoot}/osu.Framework.Tests/bin/Release/net5.0/osu.Framework.Tests.dll", + "${workspaceRoot}/osu.Framework.Tests/bin/Release/net6.0/osu.Framework.Tests.dll", ], "cwd": "${workspaceRoot}", "preLaunchTask": "Build (Release)", "linux": { "env": { - "LD_LIBRARY_PATH": "${workspaceRoot}/osu.Framework.Tests/bin/Release/net5.0:${env:LD_LIBRARY_PATH}" + "LD_LIBRARY_PATH": "${workspaceRoot}/osu.Framework.Tests/bin/Release/net6.0:${env:LD_LIBRARY_PATH}" + } + }, + "console": "internalConsole" + }, + { + "name": "SampleGame (Debug)", + "type": "coreclr", + "request": "launch", + "program": "dotnet", + "args": [ + "${workspaceRoot}/SampleGame.Desktop/bin/Debug/net6.0/SampleGame.Desktop.dll", + ], + "cwd": "${workspaceRoot}", + "preLaunchTask": "Build (Debug)", + "linux": { + "env": { + "LD_LIBRARY_PATH": "${workspaceRoot}/SampleGame.Desktop/bin/Debug/net6.0:${env:LD_LIBRARY_PATH}" + } + }, + "console": "internalConsole" + }, + { + "name": "SampleGame (Release)", + "type": "coreclr", + "request": "launch", + "program": "dotnet", + "args": [ + "${workspaceRoot}/SampleGame.Desktop/bin/Release/net6.0/SampleGame.Desktop.dll", + ], + "cwd": "${workspaceRoot}", + "preLaunchTask": "Build (Release)", + "linux": { + "env": { + "LD_LIBRARY_PATH": "${workspaceRoot}/SampleGame.Desktop/bin/Release/net6.0:${env:LD_LIBRARY_PATH}" } }, "console": "internalConsole" @@ -55,17 +89,17 @@ "request": "launch", "program": "dotnet", "args": [ - "${workspaceRoot}/osu.Framework.Benchmarks/bin/Release/net5.0/osu.Framework.Benchmarks.dll", + "${workspaceRoot}/osu.Framework.Benchmarks/bin/Release/net6.0/osu.Framework.Benchmarks.dll", "--filter", "*", ], "cwd": "${workspaceRoot}", - "preLaunchTask": "Build (Release)", + "preLaunchTask": "Build Benchmarks", "linux": { "env": { - "LD_LIBRARY_PATH": "${workspaceRoot}/osu.Framework.Benchmarks/bin/Release/net5.0:${env:LD_LIBRARY_PATH}" + "LD_LIBRARY_PATH": "${workspaceRoot}/osu.Framework.Benchmarks/bin/Release/net6.0:${env:LD_LIBRARY_PATH}" } }, } ] -} \ No newline at end of file +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json index de94d21d9..6afdf4877 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -31,6 +31,50 @@ ], "group": "build", "problemMatcher": "$msCompile" + }, + { + "label": "Build SampleGame (Debug)", + "type": "shell", + "command": "dotnet", + "args": [ + "build", + "-p:GenerateFullPaths=true", + "-m", + "-verbosity:m", + "SampleGame.Desktop" + ], + "group": "build", + "problemMatcher": "$msCompile" + }, + { + "label": "Build SampleGame (Release)", + "type": "shell", + "command": "dotnet", + "args": [ + "build", + "-p:Configuration=Release", + "-p:GenerateFullPaths=true", + "-m", + "-verbosity:m", + "SampleGame.Desktop" + ], + "group": "build", + "problemMatcher": "$msCompile" + }, + { + "label": "Build Benchmarks", + "type": "shell", + "command": "dotnet", + "args": [ + "build", + "-p:Configuration=Release", + "-p:GenerateFullPaths=true", + "-m", + "-verbosity:m", + "osu.Framework.Benchmarks" + ], + "group": "build", + "problemMatcher": "$msCompile" } ] -} \ No newline at end of file +}