Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / March 2007

Tip: Looking for answers? Try searching our database.

Detecting per-file compilation results

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Luis Bascones - 02 Mar 2007 14:34 GMT
Hello all,

I  am interested in detecting the compilation results for each file of each
project for a given solution. I'm more interested in whether there were any
warnings issued while compiling each file, and, if any, a list of the
warnings corresponding to the compilation of that file. It sounds like
something that should be handled in an file-compiled event, but I have not
been able to find such an event, or any other way of doing this.

If it makes any difference, I'm working on VC++ (VCProjects), even though
(long term) I'd be interested in a solution that works for C# too (Project).

Anyone know whether this can be done?

Thanks much,

-LuisB
Larry Smith - 02 Mar 2007 18:49 GMT
> I  am interested in detecting the compilation results for each file of
> each project for a given solution. I'm more interested in whether there
[quoted text clipped - 8 lines]
>
> Anyone know whether this can be done?

For VS2005, have a look at "EnvDTE80.DTE2.ToolWindows.ErrorList.ErrorItems"
(after compiling)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.