Here are the instructions for running leak detection as part of each release:

1. Download Visual Leak Detector:
2. Build the product and tests using the msbuild property 'CASA_ENABLE_VLD':

msbuild /p:CASA_ENABLE_VLD=true

3. Run each of the tests dlls individually or by specifying test.dll to the TestRunner.
4. A summary of any discovered leaks will be presented at the end of execution including the call stack that performed the allocation.

Please note last time I ran for some reason I had to explicitly add the vld.lib to the <Link><AdditionalDependencies> for 2 of the winrt vcxprojs. I'm not sure why I didn't have time to investigate.

Last edited Aug 16, 2014 at 12:43 AM by stevetgates, version 5