Customization Ignore Warnings

Is there a way to ignore the output warnings in the Customizer for E10? I am getting warnings that I don’t want to see such as:
Warning: CS0618 - line 712 (1943) - ‘Ice.Lib.Framework.EpiButton.Enabled’ is obsolete: ‘EpiControls should use ReadOnly instead of Enabled’

Is there a way to disable/turn off/ignore warnings of specific types or warnings in general?

I may get 20 of these warnings in my code and hidden somewhere in between them is an actual legit error, making it hard to find at first glance.

@hkeric.wci this is for a button and the ReadOnly attribute doesn’t seem to do the trick.

I will try the pragma tags as you suggested though.

Thanks!

image

Use Pragma but also if its a button you can EpiBind it to anything and then Epicor’s engine will manage the state just type in for example QuoteHed.MyButton_c despite it not being a real column, Epicor uses that method to control Button states.

1 Like

Thanks, adding in the warning disable tags worked brilliantly. Thank you!

1 Like