Skip to content

Commit

Permalink
Update version of Microsoft.Identity.Client for .NET Framework (#18579)
Browse files Browse the repository at this point in the history
* Update version of Microsoft.Identity.Client for .NET Framework

* update
  • Loading branch information
dingmeng-xue authored Jun 20, 2022
1 parent 6acd4bf commit cc7a411
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/development-docs/common-assemblies.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ For further reading, please visit https://docs.microsoft.com/en-us/dotnet/standa
2. Compare dependencies of `Azure.Core` on [nuget.org](https://www.nuget.org/packages/Azure.Core/) between current version and expected version.
3. Extract DLL file in nuget package folder `lib/netcoreapp2.1` of `Azure.Core` and changed dependencies and copy them to `src/lib/NetCorePreloadAssemblies`. You need to ensure the version CANNOT be higher than existing assembly if PowerShell already includes it.
4. Update assembly version of `Azure.Core` and changed dependencies to .NET Stardard 2.0 in `/src/Accounts/AuthenticationAssemblyLoadContext/AzAssemblyLoadContextInitializer.cs`.
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`.
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`. As one of dependencies, `Microsoft.Identity.Client` needs its net461 version because of known issue with certificates.
6. Update assembly version of `Azure.Core` and changed dependencies to .NET Framework in `/src/Accounts/Authentication/Utilities/CustomAssemblyResolver.cs`.
7. Verify built `Az.Accounts` can work with existing Azure PowerShell modules on PowerShell 7 and Windows PowerShell.
- Import module into PowerShell 7 or Windows PowerShell, and ensure there is no error in verbose output
Expand Down
1 change: 1 addition & 0 deletions src/Accounts/Accounts/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

## Upcoming Release
* Supported exporting and importing configurations by `Export-AzConfig` and `Import-AzConfig`.
* Upgraded version of Microsoft.Identity.Client for .NET Framework [#18495]
* Fixed an issue that Az.Accounts failed to be imported if multiple environment variables, which only differ by case, are set. [#18304]

## Version 2.8.0
Expand Down
Binary file modified src/lib/NetFxPreloadAssemblies/Microsoft.Identity.Client.dll
Binary file not shown.

0 comments on commit cc7a411

Please sign in to comment.