-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 to Preview7 SDK #106333
Update to Preview7 SDK #106333
Conversation
@steveharter @LakshanF - does this failure make sense when picking up Preview7 SDK?
I see you've been doing work here with #105766 so I don't want to jump to assumptions on the fix. Line 20 in ae49f9e
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
Yes that is a known issue with that SDK test. |
Seems like this is broken due to dotnet/sdk@8ca5983 I think we can just add |
Actually there are many more test failures due to the SDK disabling support for DefaultValueAttribute: We might need more changes here. Also my first attempt at this, doesn't work because the property doesn't make it into the generated projects. |
|
These tests look like they're explicitly testing DefaultValueAttribute support that's incompatible with trimming and probably should be disabled when trimming. Looks like @ericstj's latest change is working to set the feature switch as a workaround, and it just needs to be done for a few more tests. |
I have some fixes for most of the tests. I'm letting this run to get more data before pushing. Please stay tuned. |
Throw only when type constructor is used. Fix tests to condition on this.
These tests serialize types that use DefaultValueAttribute which is disabled.
Crud, I missed one. Have the fix for that, but seeing if I'll get the other platforms complete before submitting. |
Changes are similar to the update to preview 6 : 4a8aca8