User | Kudos |
---|---|
11 | |
8 | |
3 | |
3 | |
2 |
A .NET assembly can mark some of its items as deprecated to alert users of those items to not use them for future applications. This is part of the .NET standard. It looks like this:
[Obsolete("This is the message you get!")]
In other development environments the developer will see this message when using a deprecated item.
This is an example of what it looks like in the Visual Studio editor. The item is underlined and when you hover over, the message is shown:
This is an example from Visual Studio builds:
However LabVIEW does not. If you're developing a LabVIEW application using .NET interfaces... You might use deprecated functionality by accident. To avoid this... LabVIEW users like myself generally have to have intimate knowledge of the assembly or the documentation up on another screen just to make sure they are not using deprecated items.
I propose we mark items in a special color to indicate they are deprecated. I chose pink here for no reason. Any color is fine:
Also, we should indicate the item is deprecated in the class browser in some manner. Again, I just drew some stuff, doesn't have to be exactly this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.