-
Notifications
You must be signed in to change notification settings - Fork 757
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 in File Reference in file path containing %20
#9466
Comments
I got the same issue, if there is any solution hope it lands here |
Possibly related to #8383 |
@Andrew-D-Wilson when you are building Bicep, are you using the VSCode "Build ARM Template" command, or are you using Azure CLI or Bicep CLI? |
@anthony-c-martin , I cant build with VSCode "Build ARM Templates" |
To me this looks like a bug in OmniSharp's If we have a file path containing |
I added a test to repro this issue:
|
%20
Is there any ETA on when this may be fixed please? |
I did some investigation, and this does seem to be an upstream bug in the Omnisharp LSP package: OmniSharp/csharp-language-server-protocol#1005. I'll be submitting a temp fix to the Bicep repo soon before the upstream bug is acknowledged and fixed. |
…11574) This is a workaround for OmniSharp/csharp-language-server-protocol#1005. Fixes #9466. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/11574)
Bicep version
v0.13.1
Describe the bug
When working in a Git repository that's name contains spaces, the bicep 'module' then errors.
Such that if the cloned folder is demo%20repo, the error is as follows:
An error occurred reading file. Could not find a part of the path 'c:\src\demo repo\Bicep-Templates\storage-account.bicep'.
This also prevents building into ARM.
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: