Skip to content

Commit 55cff57

Browse files
committed
Merge branch 'master' of github.com:Azure/azure-powershell into ad-user-fix
2 parents d7380e7 + 1001d5a commit 55cff57

File tree

5 files changed

+22
-8
lines changed

5 files changed

+22
-8
lines changed

build.proj

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,13 @@
221221
<ItemGroup>
222222
<ModuleCsprojFiles Include="$(LibraryRoot)src/**/*.csproj" Exclude="$(LibraryRoot)src/**/*.Test.csproj" />
223223
</ItemGroup>
224-
<Exec Command="dotnet sln Azure.PowerShell.sln add @(ModuleCsprojFiles->'%(FullPath)', ' ')" />
224+
<!-- https://stackoverflow.com/a/35477012/294804 -->
225+
<ItemGroup>
226+
<ModuleCsprojFilesRelative Include="@(ModuleCsprojFiles)">
227+
<RelativePath>$([MSBuild]::MakeRelative($(LibraryRoot), %(ModuleCsprojFiles.FullPath)))</RelativePath>
228+
</ModuleCsprojFilesRelative>
229+
</ItemGroup>
230+
<Exec Command="dotnet sln Azure.PowerShell.sln add @(ModuleCsprojFilesRelative->'%(RelativePath)', ' ')" />
225231
<Exec Command="dotnet sln Azure.PowerShell.sln add $(LibraryRoot)tools/Tools.Common/Tools.Common.Netcore.csproj $(LibraryRoot)tools/StaticAnalysis/StaticAnalysis.Netcore.csproj" />
226232
<Exec Command="dotnet publish Azure.PowerShell.sln -c $(Configuration)" />
227233

@@ -375,7 +381,13 @@
375381
<ItemGroup>
376382
<ModuleCsprojFiles Include="$(LibraryRoot)src/**/*.csproj" />
377383
</ItemGroup>
378-
<Exec Command="dotnet sln Azure.PowerShell.sln add @(ModuleCsprojFiles->'%(FullPath)', ' ')" />
384+
<!-- https://stackoverflow.com/a/35477012/294804 -->
385+
<ItemGroup>
386+
<ModuleCsprojFilesRelative Include="@(ModuleCsprojFiles)">
387+
<RelativePath>$([MSBuild]::MakeRelative($(LibraryRoot), %(ModuleCsprojFiles.FullPath)))</RelativePath>
388+
</ModuleCsprojFilesRelative>
389+
</ItemGroup>
390+
<Exec Command="dotnet sln Azure.PowerShell.sln add @(ModuleCsprojFilesRelative->'%(RelativePath)', ' ')" />
379391
<!-- https://github.com/Microsoft/msbuild/issues/3157#issuecomment-378002971 -->
380392
<!-- https://github.com/xunit/xunit/issues/1154#issuecomment-405366373 -->
381393
<Exec Command="dotnet test Azure.PowerShell.sln --filter &quot;AcceptanceType=CheckIn%26RunType!=DesktopOnly&quot; --configuration $(Configuration) --framework netcoreapp2.0 --logger trx" />

src/Resources/Resources/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* Fix parameter set issue when providing `-ODataQuery` and `-ResourceId` parameters for `Get-AzResource`
2222
- More information here: https://github.com/Azure/azure-powershell/issues/7875
2323
* Fix handling of the -Custom parameter in New/Set-AzPolicyDefinition
24+
* Fix typo in New-AzDeployment documentation
2425

2526
## Version 1.0.0
2627
* General availability of `Az.Resources` module

src/Resources/Resources/help/New-AzDeployment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.ResourceManager.dll-Help.xml
33
Module Name: Az.Resources
44
online version: https://docs.microsoft.com/en-us/powershell/module/az.resources/new-azdeployment
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# New-AzDeployment
99

1010
## SYNOPSIS
11-
Creat a deployment
11+
Create a deployment
1212

1313
## SYNTAX
1414

tools/CreateMappings_rules.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@
109109
{ "regex": "Consumption", "group": "Billing", "alias": "Billing" },
110110
{ "regex": "Billing", "group": "Billing", "alias": "Billing" },
111111

112-
{ "regex": "Insights", "alias": "Monitor" },
112+
{ "regex": "ApplicationInsights", "alias": "Monitor" },
113+
{ "regex": "Monitor", "alias": "Monitor" },
113114

114115
{ "regex": "Media", "alias": "Media Services" },
115116

@@ -121,7 +122,7 @@
121122

122123
{ "regex": "Tags", "alias": "Tags" },
123124

124-
{ "regex": "Profile", "alias": "Profile" },
125+
{ "regex": "Accounts", "alias": "Accounts" },
125126

126127
{ "regex": "Reservations", "alias": "Reservations" },
127128

@@ -131,7 +132,7 @@
131132
{ "regex": "AD", "group": "Resources", "alias": "Active Directory" },
132133
{ "regex": "Resources", "group": "Resources", "alias": "Resources" },
133134

134-
{ "regex": "Maps", "alias": "Maps" },
135+
{ "regex": "Maps", "alias": "Maps" },
135136
{ "regex": "Aks", "group": "Aks", "alias": "Aks" },
136137

137138
{ "regex": "ManagedServiceIdentity", "group": "Managed Service Identity", "alias": "Managed Service Identity" },

tools/NewHelpIndex.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ $resourceManagerPath = "$PSScriptRoot/../artifacts/$BuildConfig/"
7070

7171
$RMpsd1s += Get-ChildItem -Path $resourceManagerPath -Depth 2 | Where-Object { $_.Name -like "*.psd1" -and $_.FullName -notlike "*dll-Help*" }
7272

73-
$HelpFolders += Get-ChildItem -Path "$PSScriptRoot/../src/ResourceManager" -Recurse -Directory | where { $_.Name -eq "help" -and $_.FullName -notlike "*\Stack\*" -and $_.FullName -notlike "*\bin\*"}
73+
$HelpFolders += Get-ChildItem -Path "$PSScriptRoot/../src" -Recurse -Directory | where { $_.Name -eq "help" -and $_.FullName -notlike "*\Stack\*" -and $_.FullName -notlike "*\bin\*"}
7474

7575
# Map the name of the cmdlet to the location of the help file
7676
$HelpFileMapping = @{}

0 commit comments

Comments
 (0)