Skip to content

Commit e8ea0d2

Browse files
authored
Merge pull request #182933 from mumian/1215-bicep-install
add a troubleshooting solution
2 parents 0c1d684 + 6d4da8e commit e8ea0d2

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

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

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Troubleshoot problems with Bicep installation
33
description: How to resolve errors and problems with your Bicep installation.
44
ms.topic: conceptual
5-
ms.date: 11/19/2021
5+
ms.date: 12/15/2021
66
---
77

88
# Troubleshoot Bicep installation
@@ -61,6 +61,26 @@ For other **macOS** installations, use:
6161

6262
See [User and Workspace Settings](https://code.visualstudio.com/docs/getstarted/settings) for configuring Visual Studio Code settings.
6363

64+
## Visual Studio Code error
65+
66+
If you see the following error message popup in VSCode:
67+
68+
```error
69+
The Bicep server crashed 5 times in the last 3 minutes. The server will not be restarted.
70+
```
71+
72+
From VSCode, open the **Output** view in the pane at the bottom of the screen, and then select **Bicep**:
73+
74+
:::image type="content" source="./media/installation-troubleshoot/visual-studio-code-output-pane-bicep.png" alt-text="Visual Studio Code output pane":::
75+
76+
If you see the following output in the pane, and you are using Bicep CLI **version 0.4.1124** or later, check whether you have added the `dotnetAcquisitionExtension.existingDotnetPath` configuration option to VSCode. See [.NET runtime error](#net-runtime-error). If this configuration option is present, remove it and restart VSCode.
77+
78+
```error
79+
It was not possible to find any compatible framework version.
80+
```
81+
82+
Otherwise, raise an issue in the [Bicep repo](https://github.com/Azure/bicep/issues), and include the output messages.
83+
6484
## Multiple versions of Bicep CLI installed
6585

6686
If you manually install the Bicep CLI to more than one location, you may notice unexpected behavior such as the Bicep CLI not updating when you run the [upgrade command](bicep-cli.md#upgrade). Or, you may notice that running `az bicep version` returns one version, but `bicep --version` returns a different version.
6.31 KB
Loading

0 commit comments

Comments
 (0)