Microsoft Visual Studio Community 2022
Version 17.4.4
VisualStudio.17.Release/17.4.4+33213.308
Microsoft .NET Framework
Version 4.8.09032
.NET version
.Net7, .Net6. Others not tested.
Did this work in a previous version of Visual Studio and/or previous .NET release?
Yes in old .NET framework designer.
Issue description
GenerateMember = false must remove corresponding class member from *.Designer.cs. Actual behavior:
Steps to reproduce
Any winforms project. Open designer, select any existing control on the form, set GenerateMember to false.
Project to quick test:
GenerateMemberTest.zip
Environment
Microsoft Visual Studio Community 2022 Version 17.4.4 VisualStudio.17.Release/17.4.4+33213.308 Microsoft .NET Framework Version 4.8.09032
.NET version
.Net7, .Net6. Others not tested.
Did this work in a previous version of Visual Studio and/or previous .NET release?
Yes in old .NET framework designer.
Issue description
GenerateMember = false
must remove corresponding class member from*.Designer.cs
. Actual behavior:Steps to reproduce
Any winforms project. Open designer, select any existing control on the form, set
GenerateMember
tofalse
. Project to quick test: GenerateMemberTest.zipDiagnostics
No response