-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Update S.R.Metadata in HostModel #74009
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update S.R.Metadata in HostModel #74009
Conversation
|
Tagging subscribers to this area: @vitek-karas, @agocke Issue Details
|
| <!-- Installer dependencies --> | ||
| <MicrosoftNETCoreAppRuntimewinx64Version>7.0.0-rc.1.22414.6</MicrosoftNETCoreAppRuntimewinx64Version> | ||
| <MicrosoftNETCoreDotNetHostVersion>7.0.0-rc.1.22414.6</MicrosoftNETCoreDotNetHostVersion> | ||
| <MicrosoftNETCoreDotNetHostPolicyVersion>7.0.0-rc.1.22414.6</MicrosoftNETCoreDotNetHostPolicyVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some tests are failing due to the indirect dependencies on S.C.I.
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="System.Reflection.Metadata" Version="1.8.0" /> | ||
| <PackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataVersion)" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to ensure that we're matching the version of System.Reflection.Metadata that is in the SDK, as version mismatches can cause significant issues when running on the Full Framework version of MSBuild.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we can update to 6.0.0 (the current value of SystemReflectionMetadataVersion) as it's the same as the sdk's version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, I first tested updating SystemReflectionMetadataVersion to 7.0 preview7, but ILCompiler.Build.Tasks.csproj requirement is that we keep SystemCollectionsImmutableVersion and SystemReflectionMetadataVersion in sync. Updating System.Collections.Immutable to 7.0 preview7 was failing Pri0 tests (XUnitWrapperGenerator was unable to load S.C.I among other things), so I reverted that change.
This reverts commit 7e4b3c1.
Use shared version of
System.Reflection.Metadatain HostModel. It is compatible with netstandard2.0.