Closed paul1956 closed 1 year ago
@Olina-Zhang can your team please verify this issue?
Tested this issue, it can reproduce after serialization in core designer, doesn't repro in Visual Studio 17.4.5. Will open a GH issue in Winforms designer repo.
Filed a Winforms designer repo issue to track: https://github.com/microsoft/winforms-designer/issues/4980
This issue was fixed in internal VS build, please use incoming Visual Studio 2022 preview build for testing.
@Olina-Zhang it would help people outside the development team if when you close something as complete, we had some idea what public release it is targeted at. I don't need a guarantee just a "this will not be in before version X.Y" so we don't waste time trying every preview and finding the issue still there.
@paul1956 the fixing of this issue now is also in public release: Visual Studio 17.5.3.
Environment
Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.6.0 Preview 1.0
.NET version
N/A
Did this work in a previous version of Visual Studio and/or previous .NET release?
Unknown
Issue description
When multiline CheckBox is created, using Designer, when form is saved the text is deleted.
Steps to reproduce
Create a form, add a CheckBox, Use dropdown under CheckBox.Text to enter multiple lines of text. Hit to Save the text and you will see it on the design surface. Now Save the Form. The text is deleted from Form.Designer.
CheckBoxText Disapears.zip
Diagnostics