MSBuild Extension Pack

יום רביעי, אוקטובר 15, 2008

I came across this project at codeplex here's the project summery: "Project DescriptionThe MSBuild Extension Pack is the successor to the FreeToDev MSBuild Tasks Suite and provides a collection of over 170 MSBuild tasks designed for the .net 3.5 Framework. A high level summary of what the tasks currently cover includes the following:• System Items: Certificates, COM+, Console, Date and Time, Drives, Environment Variables, Event Logs, Files and Folders, GAC, Network, Performance Counters, Registry, Services, Sound• Code: Assemblies, CAB Files, Code Signing, File Detokenisation, GUID’s, Mathematics, Strings, Threads, Zip• Applications: BizTalk 2006, Email, IIS7, MSBuild, SourceSafe, StyleCop, Team Foundation Server, Visual Basic...
תגובה אחת

Debugging in MSBuild

יום שלישי, אוקטובר 7, 2008

There's a nice switch in MSBuild: /verbosity:level The available verbosity levels are q, m, n, d, and diag. /v is also acceptable. For example: msbuild /v:diag This way there's a lot of extra info that is generated for you and hopefully should help your debugging.  However there's another way - you can create a task that will just output the stuff you wan't to debug. I used it when I had to check why our custom code analysis wasn't working as we expect it to work: First of all you need to make sure that you build is depends on something (this case BuildDependsOn) : <Target Name="Build"...
תגיות: , ,
אין תגובות