-
Notifications
You must be signed in to change notification settings - Fork 4.9k
[release/6.0] Add packaging changes for System.Text.Json #61703
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
Conversation
Tagging subscribers to this area: @dotnet/area-system-text-json Issue DetailsIt seems like we missed packaging changes for JSON on: fd61aef
|
0528e74
to
28b425b
Compare
@Anipik @ericstj could you please review: 28b425b By setting these properties on Also, instead of setting We could avoid this complexity by just setting But it felt more right to not duplicate arcade logic on our side. For .NET 7+ we could fix the |
After giving it a thought, I decided to go the simple route which is setting |
@@ -267,9 +273,15 @@ | |||
</Target> | |||
|
|||
<Target Name="ValidateAssemblyVersionsInRefPack" | |||
Condition="$(_AssemblyInTargetingPack) == 'true' and '$(PreReleaseVersionLabel)' == 'servicing'" | |||
Condition="'$(SkipValidateAssemblyVersion)' != 'true' and '$(_AssemblyInTargetingPack)' == 'true' and '$(PreReleaseVersionLabel)' == 'servicing'" | |||
AfterTargets="CoreCompile" > | |||
<Error Condition="'$(AssemblyVersion)' != '$(LastReleasedStableAssemblyVersion)'" Text="AssemblyVersion should match last released assembly version $(LastReleasedStableAssemblyVersion)" /> |
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.
Is this all the validation we're doing @Anipik? I thought we were going to run a reverse check here:
runtime/src/libraries/shims/ApiCompat.proj
Lines 103 to 108 in c1e9122
<Exec Command="$(_ApiCompatCommand) "$(PreviousNetCoreAppRefPath.TrimEnd('\/'))" @"$(ApiCompatResponseFile)" $(_previousNetCoreAppBaselineParam)" | |
CustomErrorRegularExpression="^[a-zA-Z]+ :" | |
StandardOutputImportance="Low" | |
IgnoreExitCode="true"> | |
<Output TaskParameter="ExitCode" PropertyName="ApiCompatExitCode" /> | |
</Exec> |
To ensure folks don't add API in servicing.
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 have an open issue, we haven't enabled it yet.
Don't treat my comment as blocking. Merge when ready. |
Failure is: #50748 |
It seems like we missed packaging changes for JSON on: fd61aef
Also fixes: #61694