Skip to content

Commit 45a9cb5

Browse files
Remove recommendation to configure dotnet settings
1 parent 3623491 commit 45a9cb5

File tree

1 file changed

+0
-55
lines changed

1 file changed

+0
-55
lines changed

articles/azure-resource-manager/bicep/installation-troubleshoot.md

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -10,61 +10,6 @@ ms.date: 03/20/2024
1010

1111
This article describes how to resolve potential errors in your Bicep installation.
1212

13-
## .NET runtime error
14-
15-
When installing the Bicep extension for Visual Studio Code, you may run into the following error messages:
16-
17-
```error
18-
Failed to install .NET runtime v5.0
19-
```
20-
21-
```error
22-
Failed to download .NET 5.0.x ....... Error!
23-
```
24-
25-
> [!WARNING]
26-
> This is a last resort solution that may cause problems when updating versions.
27-
28-
To solve the problem, you can manually install .NET from the [.NET website](https://aka.ms/dotnet-core-download), and then configure Visual Studio Code to reuse an existing installation of .NET with the following settings:
29-
30-
**Windows**
31-
32-
```json
33-
"dotnetAcquisitionExtension.existingDotnetPath": [
34-
{
35-
"extensionId": "ms-azuretools.vscode-bicep",
36-
"path": "C:\\Program Files\\dotnet\\dotnet.exe"
37-
}
38-
]
39-
40-
```
41-
42-
**macOS**
43-
44-
If you need an **x64** installation, use:
45-
46-
```json
47-
"dotnetAcquisitionExtension.existingDotnetPath": [
48-
{
49-
"extensionId": "ms-azuretools.vscode-bicep",
50-
"path": "/usr/local/share/dotnet/x64/dotnet"
51-
}
52-
]
53-
```
54-
55-
For other **macOS** installations, use:
56-
57-
```json
58-
"dotnetAcquisitionExtension.existingDotnetPath": [
59-
{
60-
"extensionId": "ms-azuretools.vscode-bicep",
61-
"path": "/usr/local/share/dotnet/dotnet"
62-
}
63-
]
64-
```
65-
66-
See [User and Workspace Settings](https://code.visualstudio.com/docs/getstarted/settings) for configuring Visual Studio Code settings.
67-
6813
## Visual Studio Code error
6914

7015
If you see the following error message popup in Visual Studio Code:

0 commit comments

Comments
 (0)