Thanks, I was looking at the Error List and didn't think to check the
Output.

-Mont


On 8/24/07, Adam Sills <[EMAIL PROTECTED]> wrote:
>
> The warning number is right there in the compiler output:
>
> warning CS0618: '[x]' is obsolete: '[y]'
>
> You can avoid the warning in your own source code with a #pragma if you
> don't want to do it globally on a project level.
>
> #pragma warning disable 0618 // disable obsolete warning
> #pragma warning restore 0618 // enable obsolete warning
>
> Adam..
>
> -----Original Message-----
> From: Discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of Mont Rothstein
> Sent: Friday, August 24, 2007 10:58 AM
> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
> Subject: [ADVANCED-DOTNET] Warning number for obsolete
>
> I want to disable an "obsolete" warning ('method' is obsolete: 'This
> property has been deprecated. Use...instead') because the vendor is using
> it
> for something other an what it was intended (the method is not actually
> deprecated).
>
> Does anyone know the "obsolete" warning number or where I can find a list
> of
> warning numbers?
>
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to