Skip to content

Conversation

@mthalman
Copy link
Member

By default IdentityModel assemblies have a version of 0.0.1, which is the default version specified in the azure-activedirectory-identitymodel-extensions-for-dotnet repo. This differs from the Microsoft-produced versions of these assemblies that the SDK contains, which has an assembly version of 7.0.0.

This is fixed by explicitly updating the AssemblyInfo.cs file of each source project in the repo to have the desired version attributes. There's already an existing PowerShell script which does this. However, that script can't be executed in the context of source-build because it relies on PowerShell which is not source-buildable. Instead, that script has been ported to Bash.

Fixes dotnet/source-build#3565

@mthalman mthalman requested a review from a team July 31, 2023 17:43
@mthalman mthalman requested a review from MichaelSimons as a code owner July 31, 2023 17:43
Copy link
Member

@MichaelSimons MichaelSimons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts on backporting this or at least opening an issue to support building in a non-windows environment? The best approach may be to make this msbuild logic rather than a script.

@mthalman
Copy link
Member Author

mthalman commented Aug 8, 2023

I've submitted a PR to get this backported at AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#2211.

@mthalman mthalman requested a review from MichaelSimons August 8, 2023 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IdentityModel assemblies have incorrect assembly version

2 participants