I want to raise warnings, if certain properties are used in the code. I could use the obsolete-attribute. But the used properties aren't obsolete, thus it wouldn't be that correct to give an obsolete warning. How can I define own warnings for some properties that are printed during compilation, when the property is used?

有帮助吗?

解决方案

  1. Why not use the obsolete atrribute?
  2. You can use task list with comments. Just use of the keywords defined here VS2008 Options VS2008 Editor
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top