-
Notifications
You must be signed in to change notification settings - Fork 81
Troubleshooting DotNet Acquisition
Our new language server is written in dotnet core (for compatibility with Windows, Mac and Linux), and so we need to install a local version for the extension. There are some known issues with this process. Please let us know of any additional issues by clicking on "Report Issue" in the error dialog.
If all else fails, you can work around this issue by installing .NET Core Runtime 3.x from https://dotnet.microsoft.com/download/dotnet-core/3.1 (if it's not already installed), then setting the vscode setting azureResourceManagerTools.languageServer.dotnetExePath to point to the path to dotnet.exe after it's installed. To do this, go to settings in vscode and search for "arm dotnet". Set this value to the path of the dotnet executable file on your machine. For instance (on a Mac):
Once you restart, it should pick up .NET at the new location. If necessary you can verify the path that is used in the Output window:
There was a known problem with the .NET install scripts so that they will fail if wget is not on the machine, see https://github.com/dotnet/vscode-dotnet-runtime/issues/133, which has been fixed. In that scenario users saw this error: .
It can be worked around by installing wget (on Mac, open Terminal and type brew install wget
) or installing/configuring .NET manually (see above).
Feel free to enter additional issues here.
Thanks for using our extension!