# Capture warnings generated by Visual Studio 2008 solution

**URL:** https://www.finalbuilder.com/forums/t/capture-warnings-generated-by-visual-studio-2008-solution/1219
**Category:** Discussion
**Created:** [May 29, 2009, 11:50am UTC](https://www.finalbuilder.com/forums/t/capture-warnings-generated-by-visual-studio-2008-solution/1219 "2009-05-29T11:50:42Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [May 29, 2009, 11:50am UTC](https://www.finalbuilder.com/forums/t/capture-warnings-generated-by-visual-studio-2008-solution/1219/1 "2009-05-29T11:50:42Z")

</div>

Hello everyone,

I was hoping that someone would be able to give me a clue how I'd obtain the number of warnings generated by a Visual Studio 2008 solution. I am using the Build VS.Net Solution action with the use MSBuild option selected on FinalBuilder 6.

Is there any easy way to gather the total number of warnings generated by the solution?

Thanks!

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [June 1, 2009, 9:06am UTC](https://www.finalbuilder.com/forums/t/capture-warnings-generated-by-visual-studio-2008-solution/1219/2 "2009-06-01T09:06:45Z")

</div>

Hi Alan,   
  
 I’ve added two new script properties to the [VS.Net](http://VS.Net) action that will allow you to get the Error and Warnings count in the ‘AfterAction’ event script. I’ll let you know as soon as a new build is available.   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 1, 2009, 12:42pm UTC](https://www.finalbuilder.com/forums/t/capture-warnings-generated-by-visual-studio-2008-solution/1219/3 "2009-06-01T12:42:09Z")

</div>

Excellent, that sounds ideal.   
  
 Off topic, but another useful thing would be to be able to set the XML Documentation output path for a Visual Studio solution action. The addition of the Output Directory is really useful.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 30, 2009, 3:05am UTC](https://www.finalbuilder.com/forums/t/capture-warnings-generated-by-visual-studio-2008-solution/1219/4 "2009-07-30T03:05:14Z")

</div>

Is there any update on this? Is this functionality in the most recent build? If so, how would I be able to access this information?   
  
 Thanks,   
  
 Alan.

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [July 31, 2009, 1:27am UTC](https://www.finalbuilder.com/forums/t/capture-warnings-generated-by-visual-studio-2008-solution/1219/5 "2009-07-31T01:27:35Z")

</div>

Hi Alan,   
  
 My apologies for the late response, here’s the link to the new build of FinalBuilder which exposes 2 new properties in the Visual Studio .NET action; Action.CompilerErrorCount and Action.CompilerWarningCount.   
  
 URL: [https://www.finalbuilder.com/downloads/finalbuilder/630/FB630\_1639.exe](https://www.finalbuilder.com/downloads/finalbuilder/630/FB630_1639.exe)  
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 6, 2009, 3:16am UTC](https://www.finalbuilder.com/forums/t/capture-warnings-generated-by-visual-studio-2008-solution/1219/6 "2009-08-06T03:16:15Z")

</div>

Thanks Paul, those two new properties worked really well.
