Skip to content

Commit 050e5e6

Browse files
authored
Upgraded AutoMapper to Microsoft.Azure.PowerShell.AutoMapper (#20110)
1 parent e0b7b4c commit 050e5e6

File tree

29 files changed

+31
-20
lines changed

29 files changed

+31
-20
lines changed

src/Aks/Aks/Aks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<ItemGroup>
1515
<PackageReference Include="YamlDotNet.Signed" Version="5.2.1" />
16-
<PackageReference Include="AutoMapper" Version="6.2.2" />
16+
<PackageReference Include="Microsoft.Azure.PowerShell.AutoMapper" Version="6.2.2" />
1717
<PackageReference Include="Microsoft.Azure.Management.ContainerService" Version="1.2.0" />
1818
</ItemGroup>
1919

src/Aks/Aks/Az.Aks.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ DotNetFrameworkVersion = '4.7.2'
5656
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.10.2'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
59-
RequiredAssemblies = 'YamlDotNet.dll', 'AutoMapper.dll',
59+
RequiredAssemblies = 'YamlDotNet.dll', 'Microsoft.Azure.PowerShell.AutoMapper.dll',
6060
'Microsoft.Azure.Management.ContainerService.dll',
6161
'Aks.Autorest\bin\Az.Aks.private.dll'
6262

src/Aks/Aks/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Upgraded AutoMapper to Microsoft.Azure.PowerShell.AutoMapper 6.2.2 with fix [#18721]
2122

2223
## Version 5.0.0
2324
* [Breaking Change] Removed the alias `Install-AzAksKubectl` of `Install-AzAksCliTool`.

src/ApiManagement/ApiManagement.ServiceManagement/ApiManagement.ServiceManagement.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="AutoMapper" Version="6.2.2" />
15+
<PackageReference Include="Microsoft.Azure.PowerShell.AutoMapper" Version="6.2.2" />
1616
<PackageReference Include="Microsoft.Azure.Management.ApiManagement" Version="8.0.0-preview" />
1717
</ItemGroup>
1818

src/ApiManagement/ApiManagement/ApiManagement.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="AutoMapper" Version="6.2.2" />
15+
<PackageReference Include="Microsoft.Azure.PowerShell.AutoMapper" Version="6.2.2" />
1616
<PackageReference Include="Microsoft.Azure.Management.ApiManagement" Version="8.0.0-preview" />
1717
<PackageReference Include="WindowsAzure.Storage" Version="9.3.0" />
1818
</ItemGroup>

src/ApiManagement/ApiManagement/Az.ApiManagement.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ DotNetFrameworkVersion = '4.7.2'
5656
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.10.2'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
59-
RequiredAssemblies = 'AutoMapper.dll', 'Microsoft.Azure.Management.ApiManagement.dll',
59+
RequiredAssemblies = 'Microsoft.Azure.PowerShell.AutoMapper.dll', 'Microsoft.Azure.Management.ApiManagement.dll',
6060
'Microsoft.WindowsAzure.Storage.dll'
6161

6262
# Script files (.ps1) that are run in the caller's environment prior to importing this module.

src/ApiManagement/ApiManagement/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Upgraded AutoMapper to Microsoft.Azure.PowerShell.AutoMapper 6.2.2 with fix [#18721]
2122

2223
## Version 4.0.0
2324
* [Breaking Change] Changed the type of parameter `Sku` from Enum to String in `Add-AzApiManagementRegion`, `New-AzApiManagement` and `Update-AzApiManagementRegion`.

src/Compute/Compute/Az.Compute.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ DotNetFrameworkVersion = '4.7.2'
5757
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.10.3'; })
5858

5959
# Assemblies that must be loaded prior to importing this module
60-
RequiredAssemblies = 'AutoMapper.dll', 'Microsoft.Azure.Management.Compute.dll',
60+
RequiredAssemblies = 'Microsoft.Azure.PowerShell.AutoMapper.dll', 'Microsoft.Azure.Management.Compute.dll',
6161
'Microsoft.WindowsAzure.Storage.dll',
6262
'Microsoft.Azure.Management.ResourceGraph.dll',
6363
'Compute.Autorest\bin\Az.Compute.private.dll',

src/Compute/Compute/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
2121
-->
2222
## Upcoming Release
23+
* Upgraded AutoMapper to Microsoft.Azure.PowerShell.AutoMapper 6.2.2 with fix [#18721]
2324

2425
## Version 5.1.0
2526
* Fixed EdgeZone does not pass to VM for `New-AzVM` "SimpleParameterSet" [#18978]

src/Compute/Compute/Compute.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="AutoMapper" Version="6.2.2" />
16+
<PackageReference Include="Microsoft.Azure.PowerShell.AutoMapper" Version="6.2.2" />
1717
<PackageReference Include="Microsoft.Azure.Management.ResourceGraph" Version="2.1.0" />
1818
<PackageReference Include="Microsoft.Azure.Management.Compute" Version="58.0.0" />
1919
<PackageReference Include="System.Security.Permissions" Version="4.5.0" />

src/Maintenance/Maintenance/Az.Maintenance.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ DotNetFrameworkVersion = '4.7.2'
5656
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.7.4'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
59-
RequiredAssemblies = 'AutoMapper.dll', 'Microsoft.Azure.Management.Maintenance.dll'
59+
RequiredAssemblies = 'Microsoft.Azure.PowerShell.AutoMapper.dll', 'Microsoft.Azure.Management.Maintenance.dll'
6060

6161
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
6262
# ScriptsToProcess = @()

src/Maintenance/Maintenance/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Upgraded AutoMapper to Microsoft.Azure.PowerShell.AutoMapper 6.2.2 with fix [#18721]
2223

2324
## Version 1.2.0
2425
* Added Guest patch maintenance support.

src/Maintenance/Maintenance/Maintenance.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="AutoMapper" Version="6.2.2" />
14+
<PackageReference Include="Microsoft.Azure.PowerShell.AutoMapper" Version="6.2.2" />
1515
<PackageReference Include="Microsoft.Azure.Management.Maintenance" Version="1.4.0-preview" />
1616
</ItemGroup>
1717

src/Monitor/Monitor/Az.Monitor.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ DotNetFrameworkVersion = '4.7.2'
5656
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.10.2'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
59-
RequiredAssemblies = 'Microsoft.Azure.Management.Monitor.dll', 'AutoMapper.dll',
59+
RequiredAssemblies = 'Microsoft.Azure.Management.Monitor.dll', 'Microsoft.Azure.PowerShell.AutoMapper.dll',
6060
'ActivityLogAlert.Autorest\bin\Az.ActivityLogAlert.private.dll',
6161
'DiagnosticSetting.Autorest\bin\Az.DiagnosticSetting.private.dll',
6262
'ScheduledQueryRule.Autorest\bin\Az.ScheduledQueryRule.private.dll',

src/Monitor/Monitor/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Upgraded AutoMapper to Microsoft.Azure.PowerShell.AutoMapper 6.2.2 with fix [#18721]
2223

2324
## Version 4.2.0
2425
* [Breaking Change] Upgraded API version for ActivityLogAlert from 2017-04-01 to 2020-10-01, affected cmdlets:

src/Monitor/Monitor/Monitor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="Microsoft.Azure.Management.Monitor" Version="0.26.0-preview" />
15-
<PackageReference Include="AutoMapper" Version="6.2.2" />
15+
<PackageReference Include="Microsoft.Azure.PowerShell.AutoMapper" Version="6.2.2" />
1616
</ItemGroup>
1717

1818
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., build.proj))\src\Az.Post.props" />

src/Network/Network/Az.Network.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ DotNetFrameworkVersion = '4.7.2'
5656
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.10.3'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
59-
RequiredAssemblies = 'AutoMapper.dll', 'Microsoft.Azure.Management.Network.dll'
59+
RequiredAssemblies = 'Microsoft.Azure.PowerShell.AutoMapper.dll', 'Microsoft.Azure.Management.Network.dll'
6060

6161
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
6262
# ScriptsToProcess = @()

src/Network/Network/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
--->
2020

2121
## Upcoming Release
22+
* Upgraded AutoMapper to Microsoft.Azure.PowerShell.AutoMapper 6.2.2 with fix [#18721]
2223

2324
## Version 5.1.1
2425
* Fixed bug with New-AzCustomIpPrefix

src/Network/Network/Network.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="AutoMapper" Version="6.2.2" />
16+
<PackageReference Include="Microsoft.Azure.PowerShell.AutoMapper" Version="6.2.2" />
1717
<PackageReference Include="Microsoft.Azure.Management.Network" Version="24.0.0" />
1818
</ItemGroup>
1919

src/Peering/Peering/Az.Peering.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ DotNetFrameworkVersion = '4.7.2'
5656
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.7.4'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
59-
RequiredAssemblies = 'Microsoft.Azure.Management.Peering.dll', 'AutoMapper.dll'
59+
RequiredAssemblies = 'Microsoft.Azure.Management.Peering.dll', 'Microsoft.Azure.PowerShell.AutoMapper.dll'
6060

6161
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
6262
# ScriptsToProcess = @()

src/Peering/Peering/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Upgraded AutoMapper to Microsoft.Azure.PowerShell.AutoMapper 6.2.2 with fix [#18721]
2122

2223
## Version 0.3.0
2324
* Added support for cdn peering prefixes

src/Peering/Peering/Peering.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="AutoMapper" Version="6.2.2" />
14+
<PackageReference Include="Microsoft.Azure.PowerShell.AutoMapper" Version="6.2.2" />
1515
<PackageReference Include="Microsoft.Azure.Management.Peering" Version="2.1.1" />
1616
</ItemGroup>
1717

src/RecoveryServices/RecoveryServices.SiteRecovery/RecoveryServices.SiteRecovery.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="AutoMapper" Version="6.2.2" />
15+
<PackageReference Include="Microsoft.Azure.PowerShell.AutoMapper" Version="6.2.2" />
1616
<PackageReference Include="Microsoft.Azure.Management.RecoveryServices" Version="4.3.3-preview" />
1717
<PackageReference Include="Microsoft.Azure.Management.RecoveryServices.SiteRecovery" Version="2.2.0-preview" />
1818
</ItemGroup>

src/RecoveryServices/RecoveryServices/Az.RecoveryServices.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ DotNetFrameworkVersion = '4.7.2'
5757
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.10.3'; })
5858

5959
# Assemblies that must be loaded prior to importing this module
60-
RequiredAssemblies = 'AutoMapper.dll',
60+
RequiredAssemblies = 'Microsoft.Azure.PowerShell.AutoMapper.dll',
6161
'Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.Backup.Models.dll',
6262
'Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.Backup.Helpers.dll',
6363
'Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.Backup.Logger.dll',

src/RecoveryServices/RecoveryServices/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Upgraded AutoMapper to Microsoft.Azure.PowerShell.AutoMapper 6.2.2 with fix [#18721]
2122

2223
## Version 6.1.0
2324
* Added support for cross zonal restore for ZRS vaults for non-ZonePinned VM

src/Resources/ResourceManager/ResourceManager.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="AutoMapper" Version="6.2.2" />
15+
<PackageReference Include="Microsoft.Azure.PowerShell.AutoMapper" Version="6.2.2" />
1616
<PackageReference Include="Microsoft.Azure.Management.ResourceManager" Version="3.17.3-preview" />
1717
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
1818
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="2.2.0" />

src/Resources/Resources/Az.Resources.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ RequiredAssemblies = 'Microsoft.Azure.Management.Authorization.dll',
6464
'Microsoft.Extensions.DependencyInjection.Abstractions.dll',
6565
'Microsoft.Extensions.Options.dll',
6666
'Microsoft.Extensions.Primitives.dll',
67-
'System.Runtime.CompilerServices.Unsafe.dll', 'AutoMapper.dll',
67+
'System.Runtime.CompilerServices.Unsafe.dll', 'Microsoft.Azure.PowerShell.AutoMapper.dll',
6868
'MSGraph.Autorest\bin\Az.MSGraph.private.dll',
6969
'Authorization.Autorest\bin\Az.Authorization.private.dll'
7070

src/Resources/Resources/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Upgraded AutoMapper to Microsoft.Azure.PowerShell.AutoMapper 6.2.2 with fix [#18721]
2223

2324
## Version 6.4.0
2425
* Fixed parameter `Count` for

tools/CleanupBuild.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ foreach($RMPath in $resourceManagerPaths)
5050

5151
$acceptedDlls = @(
5252
# netcoreapp, can't be in RequiredAssemblies, but we need to pack it
53-
"Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.dll"
53+
"Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.dll",
54+
# customized AutoMapper
55+
"Microsoft.Azure.PowerShell.AutoMapper.dll"
5456
)
5557

5658
# NestedModule Assemblies may have a folder path, just getting the dll name alone

0 commit comments

Comments
 (0)