I have a bunch of solutions downloaded from the Internet (codeplex etc.) and I want to build them and run a tool over the DLLs. I want to do this via automation.
It has been suggested to use MSBuild API because it will make it easy to get error information and manipulate MsBuild futher to obtain other info. Unfortunately it is hardly documented so:
- How do I build an .sln file (via MSBuild API 4.0) ?
- How do I capture the error information? (I saw an example on how to output the log to the console, but did not find smth for files)
Thanks!