Skip to content
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

[release/5.0] Move Editor Attribute to S.CM.Primitives and apply to types that had it in netfx #41289

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

safern
Copy link
Member

@safern safern commented Aug 24, 2020

Master PR: #41145

This is needed by Winforms.

Description

The winforms designer depends on these attributes to be added to types in order to display the information correctly on the designer.

Customer Impact

Properties and metadata will not be displayed correctly where as in Full Framework it does.

Regression?

From Full Framework, when we ported the types.

Risk

low. This only adds attributes and moves EditorAttribute from System.ComponentModel.TypeConverters to System.ComponentModel.Primitives.

Test changes in this PR

Tests for the attributes are still running.

cc: @danmosemsft @RussKie

…it in netfx (dotnet#41145)

* Move EditorAttribute to System.ComponentModel.Primitives

* Add EditorAttribute to types that had it in netfx and fix some DesignerSerializableAttributes

* PR Feedback

* PR Feedback
@safern safern requested review from eerhardt and ericstj August 24, 2020 18:18
@Dotnet-GitSync-Bot
Copy link
Collaborator

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

@danmoseley
Copy link
Member

Can you please add a quick template?

@DustinCampbell @RussKie this was done in master. Can you confirm that a port to 5.0 is important to Winforms? The relevant bar would be " Blocking key partner scenarios or blocking adoption "

@safern
Copy link
Member Author

safern commented Aug 24, 2020

Can you please add a quick template?

Sure.

@safern
Copy link
Member Author

safern commented Aug 24, 2020

Updated the description with the template. This PR is a continuation of:
#41066

@danmoseley
Copy link
Member

OK approved to merge when green/reviewed. Meets bar "·  Blocking key partner scenarios or blocking adoption "

Copy link
Member

@RussKie RussKie left a comment

Choose a reason for hiding this comment

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

🚀

@RussKie
Copy link
Member

RussKie commented Aug 25, 2020

@dotnet/dotnet-winforms for visibility

@safern
Copy link
Member Author

safern commented Aug 25, 2020

Failure is Windows7 known issue.

@safern safern merged commit c8d0f74 into dotnet:release/5.0 Aug 25, 2020
@safern safern deleted the PortEditorAttribute branch August 25, 2020 18:32
@danmoseley
Copy link
Member

@RussKie if there's a way for you to test with binaries from our repo without waiting for codeflow that would be a bonus, since the bar is about to go up for any changes to this or additional similar changes.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants