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!
Hi Alan,
I’ve added two new script properties to the 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.
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.
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.
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
Regards,
Paul.
Thanks Paul, those two new properties worked really well.