"stopAtEntry": false,
"console": "internalConsole"
},
+ {
+ "name": ".NET Core Launch (Textured)",
+ "type": "coreclr",
+ "request": "launch",
+ "preLaunchTask": "build Textured",
+ "program": "${workspaceFolder}/build/Debug/netcoreapp3.1/Textured",
+ "args": [],
+ "cwd": "${workspaceFolder}/build/Debug/netcoreapp3.1/",
+ "stopAtEntry": false,
+ "console": "internalConsole"
+ },
{
"name": ".NET Core Launch (pbr)",
"type": "coreclr",
],
"problemMatcher": "$msCompile"
},
+ {
+ "label": "build Textured",
+ "command": "dotnet",
+ "type": "process",
+ "args": [
+ "build",
+ "${workspaceFolder}/samples/Textured/Textured.csproj",
+ "/property:GenerateFullPaths=true",
+ "/property:SolutionDir=${workspaceFolder}/",
+ "/property:Configuration=Debug",
+ "/consoleloggerparameters:NoSummary"
+ ],
+ "problemMatcher": "$msCompile"
+ },
{
"label": "build ClearScreen",
"command": "dotnet",
}
string glslcExec = "glslc";
- if (Environment.OSVersion.Platform.ToString ().StartsWith ("Win", StringComparison.Ordinal))
+ if (Environment.OSVersion.Platform.ToString ().StartsWith ("Win", StringComparison.Ordinal))
glslcExec = glslcExec + ".exe";
string vkSdk = Environment.GetEnvironmentVariable ("VULKAN_SDK");
string envStrPathes = Environment.GetEnvironmentVariable ("PATH");
if (!string.IsNullOrEmpty (envStrPathes)) {
- foreach (string path in envStrPathes.Split (':')) {
+ foreach (string path in envStrPathes.Split (Environment.OSVersion.Platform == PlatformID.Unix ? ':' : ';')) {
glslcPath = Path.Combine (path, glslcExec);
if (File.Exists (glslcPath))
return true;