Code-Artist/CodeArtEng.Diagnostics

VS2022 Community try to set readonly property Text

Closed this issue · 3 comments

Code generated by VS2022 community always generate code like this:

this.diagnosticsRichTextBox1.Text = "";

but Text property is readonly ,so have to delete this like manually before build.

VS200 version 17.1.0
CodeArtEng.Diagnostics v4.0.2 from nuget

My setup as follow:

  • VS2022 Version 17.0.6.
  • .NET Framework 4.5

I am not able to produce the issue that you mentioned.
Need further investigation.

@miaolinopenvox Question: Is this only happened on VS2022 Version 17.1.0?

Closing issue due to not enough information and not reproducible.