dotnet / dotnet/vscode-csharp

Dotnet commands Permission Denied

Open
#4,556 7 comments 3 reactions 0 assignees View on GitHub
Debugger OmniSharp
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
17h 56m
Merged PRs (30d)
21

Description

In the vscode project below issue was posted:

Issue Type: Bug

When debugging a dotnet core 3.1 project through vscode I get the following error. I've checked that the project files have the correct permissions, have tried running vscode with sudo, and reinstalled vscode without fixing this issue.

Rolling back to the previous version [of vs code] fixed the issue, so this appears to be caused by the latest update.

```
execvp(3) failed.: Permission denied
The terminal process "dotnet 'build', '/Users/a0793132/Documents/services/broker-service/api/BrokerService.API/BrokerService.API.csproj', '/property:GenerateFullPaths=true', '/consoleloggerparameters:NoSummary'" failed to launch (exit code: 1).
```

https://github.com/microsoft/vscode/issues/123324

vscode developers suggest this issue is caused by C# extension, however the issue can resolved by downgrading vscode. Not sure how ```execvp``` is triggered, but this may be a cross project issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.