New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Path to tasks.json 'process' is incorrectly resolved in Windows Visual Studio Codespaces #101073
Comments
For this step:
How do I get the default .NET Core console app template? |
Looks like |
Visual Studio Codespaces InsidersEncountering the same issue with
I can get around this with using the absolute path in command: "tasks": [
{
"label": "build",
"command": "C:\\Program Files\\dotnet\\dotnet.exe",
"type": "process",
"args": [
"build",
"${workspaceFolder}/QBCart.Server.Client.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
...
] |
I tested with an SSH Windows remote, and I see the executable path being correctly found now. Please let me know if you try it out in the next insiders build! |
Interesting. I tried it with a windows codespace and got:
This is with the build from 8/3. Not sure what could be going on here. I'm going to close and see if someone else can verify. |
This issue is from a bug opened by @kendrahavens (dotnet/vscode-csharp#3878)
Steps to Reproduce:
build
task.Result:
tasks.json tries to run dotnet.exe from
C:\workspace\dotnet
instead of from where it is installed, and so it fails.Terminal output
tasks.json
The text was updated successfully, but these errors were encountered: