Skip to content

Commit f48d164

Browse files
Merge pull request #212524 from davidsmatlak/ds-content-review-0926
Content freshness review
2 parents 489b8a7 + 4324f3c commit f48d164

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-resource-manager/bicep/msbuild-bicep-file.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Use MSBuild to convert Bicep to JSON
33
description: Use MSBuild to convert a Bicep file to Azure Resource Manager template (ARM template) JSON.
4-
ms.date: 07/14/2022
4+
ms.date: 09/26/2022
55
ms.topic: quickstart
66
author: davidsmatlak
77
ms.author: davidsmatlak
@@ -148,7 +148,7 @@ For [Microsoft.Build.NoTargets](/dotnet/core/project-sdk/overview#project-files)
148148

149149
The following example converts Bicep to JSON inside a classic project file that's not SDK-based. Only use the classic example if the previous examples don't work for you. Replace `__LATEST_VERSION__` with the latest version of the Bicep NuGet packages.
150150

151-
In this example, the `ProjectGuid`, `RootNamespace` and `AssemblyName` properties contain placeholder values. When you create a project file, a unique GUID is created and the name values match your project's name.
151+
In this example, the `ProjectGuid`, `RootNamespace` and `AssemblyName` properties contain placeholder values. When you create a project file, a unique GUID is created, and the name values match your project's name.
152152

153153
```xml
154154
<?xml version="1.0" encoding="utf-8"?>
@@ -316,7 +316,7 @@ param location string = resourceGroup().location
316316
317317
var storageAccountName = 'storage${uniqueString(resourceGroup().id)}'
318318
319-
resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = {
319+
resource storageAccount 'Microsoft.Storage/storageAccounts@2022-05-01' = {
320320
name: storageAccountName
321321
location: location
322322
sku: {
@@ -394,7 +394,7 @@ Run MSBuild to convert the Bicep file to JSON.
394394
"resources": [
395395
{
396396
"type": "Microsoft.Storage/storageAccounts",
397-
"apiVersion": "2021-09-01",
397+
"apiVersion": "2022-05-01",
398398
"name": "[variables('storageAccountName')]",
399399
"location": "[parameters('location')]",
400400
"sku": {

0 commit comments

Comments
 (0)