Skip to content
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

Error loading Bicep extension - can't find executable at path '/dotnet' #16391

Open
hs-bah opened this issue Feb 13, 2025 · 1 comment
Open

Comments

@hs-bah
Copy link

hs-bah commented Feb 13, 2025

This used to work - not sure what happened. I have three versions of .NET installed on my machine, but the one the bicep extension is using is 8.0.12. I'm not experiencing issues with other extensions using the same version.

Does this occur consistently? Yes
Repro steps:

  1. Install the bicep extension
  2. Open bicep file
  3. Error pops up

Expected results:

  1. Open bicep file
  2. Formatting, intellisense, etc work properly

Action: bicep.activate
Error type: Error
Error Message: Failed to find dotnet executable at path '/dotnet'.

Version: 0.33.93
OS: darwin
OS Release: 23.6.0
Product: Visual Studio Code
Product Version: 1.97.1
Language: en

Call Stack
dotnetCommandPath client.ts:169:11
extension.ts:82:15
@anthony-c-martin
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants