Machhindra

Hi,

I am trying to create add-in which will build all the vcprojects in my source tree. I have tried to use vcbuild through a batch file. It builds all the soution reading solution paths from registry very well. BUT I need to filter Error and Warining count per solution a separate text file. vcbuild generates big log file, it is very difficult to find out if any solution failed in build.

Is there any tool which can be used to build a number of vcprojects in order and write collective log of error and warning in a text file

I learned that you can add custom loggers and log the usefull information. I could use custom logger with MSBUILD. I didn't find any switch to add custom logger to vcbuild.exe.

Thanks,

Mac




Re: Visual C++ General Addin to build vcproject source tree

Simple Samples

I am not sure what you need but perhaps others are familiar with the solution and can help better than I can.

In case it helps, perhaps you can use the build log that is in HTML format. It is not as easy to read as a text file might be, but if you use it as a HTML file and access it using the DOM, it would probably be easier to process than a text file.






Re: Visual C++ General Addin to build vcproject source tree

Machhindra

Hi,

Thanks for reply.

I have vc project solutions scattered in the folders like...

1)a\1.sln

2)b\2.sln

3)c\3.sln

....

I want to build these vc solutions in order and create log as ..

1.sln Errors: XX Warning : XX

2.sln Errors: XX Warning : XX

..

Thanks,

Mac