Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Accessing & programming task list.

0 views
Skip to first unread message

KC

unread,
Dec 29, 2001, 12:28:23 PM12/29/01
to
Does anyone know how to exclude a particular warning/s
from being printed on the task list. During coding, I'm
well aware of items in the code that need to be fixed
however, it's annoying to have those warnings obscuring
other things in the task list. For example: XML comments
warnings !!!

Also, Does any one know how to programatically interact
with the task list. E.G. sending text to it from a custom
attribute class.

Thanks

Michael G. Emmons

unread,
Dec 29, 2001, 2:08:04 PM12/29/01
to
As far as I know all you can do is change your warning level and whether you
treat warnings as errors. If you lower the warning level you won't show as many
non-fatal warnings. Level 3 or 2 should do the trick for you.

You can change this by right clicking on the project and choosing 'properties.'
Then choose the 'configuration properties/build' item. You should see 'warning
level' and 'treat warnings as errors' on this page.

Hope this helps!

Michael G. Emmons

Ken Cox [Microsoft MVP]

unread,
Dec 29, 2001, 2:22:53 PM12/29/01
to
The object model for the tasklist is exposed, so you could probably trap the
addition of a task with the TaskAdded event, check for the priority
(vsTaskPriority.vsTaskPriorityHigh) and then call the TaskItem's Delete
method to get rid of it.

There's lots of info at:

ms-help://MS.VSCC/MS.MSDNVS/vsintro7/html/vxconControllingTaskList.htm

Ken
MVP [ASP.NET]

"KC" <KC.Ma...@CarterWorld.com> wrote in message
news:3c1801c1908e$37613dc0$19ef2ecf@tkmsftngxa01...

Bill McCarthy

unread,
Dec 30, 2001, 4:39:32 PM12/30/01
to
Hi Ken,

Unfortunately compile errors are builtin taskitems and cannot be deleted.


"Ken Cox [Microsoft MVP]" <BANSPAM...@sympatico.ca> wrote in message
news:uTtRh4JkBHA.2212@tkmsftngp05...

Ken Cox [Microsoft MVP]

unread,
Jan 11, 2002, 5:58:29 PM1/11/02
to
Okay, thanks for the info. I wondered if there was some filtering that could
be applied. I haven't played much with this feature.

"Bill McCarthy" <Bill...@iprimus.com.au> wrote in message
news:e3J05pXkBHA.388@tkmsftngp05...

0 new messages