Skip to content

Commit 7aa9fd5

Browse files
authored
Upgraded System.Reflection.DispatchProxy on Windows PowerShell (#17969)
1 parent 4d64475 commit 7aa9fd5

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

documentation/development-docs/common-assemblies.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ For further reading, please visit https://docs.microsoft.com/en-us/dotnet/standa
2525
5. Extract DLL file in nuget package folder `lib/net461` (alternatively, `netstandard2.0`) of `Azure.Core` and changed dependencies and copy them to `src/lib/NetFxPreloadAssemblies`.
2626
6. Update assembly version of `Azure.Core` and changed dependencies to .NET Framework in `/src/Accounts/Authentication/Utilities/CustomAssemblyResolver.cs`.
2727
7. Verify built `Az.Accounts` can work with existing Azure PowerShell modules on PowerShell 7 and Windows PowerShell.
28-
- Import module into PowerShell 7 or Windows PowerShell.
29-
```powershell
30-
Import-Module .\artifacts\Release\Az.Accounts\Az.Accounts.psd1
31-
```
28+
- Import module into PowerShell 7 or Windows PowerShell, and ensure there is no error in verbose output
29+
```powershell
30+
$VerbosePreference = "Continue"
31+
Import-Module .\artifacts\Release\Az.Accounts\Az.Accounts.psd1
32+
```
3233
- Connect to Azure and switch to your test subscription
3334
```powershell
3435
Connect-AzAccount

src/Accounts/Accounts/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 System.Reflection.DispatchProxy on Windows PowerShell [#17856]
2223

2324
## Version 2.7.6
2425
* Upgraded Microsoft.Rest.ClientRuntime to 2.3.24

src/Accounts/Authentication/Utilities/CustomAssemblyResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static class CustomAssemblyResolver
3838
{"System.Net.Http.WinHttpHandler", new Version("4.0.2.0")},
3939
{"System.Numerics.Vectors", new Version("4.1.4.0")},
4040
{"System.Private.ServiceModel", new Version("4.7.0.0")}, //used by Compute
41-
{"System.Reflection.DispatchProxy", new Version("4.0.3.0")},
41+
{"System.Reflection.DispatchProxy", new Version("4.0.4.0")},
4242
{"System.Runtime.CompilerServices.Unsafe", new Version("4.0.6.0")},
4343
{"System.Security.AccessControl", new Version("4.1.1.0")},
4444
{"System.Security.Cryptography.Cng", new Version("4.3.0.0")},
Binary file not shown.

0 commit comments

Comments
 (0)