You could try it by installing Code Contracts on the build server and adding the required properties to your MSBuild project file. See my reply here for details on the contents of the project file:
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.