This project has moved and is read-only. For the latest updates, please go here.

The change of Microsoft.Cpp.x64.user.props by the installation breaks my build

Jan 10 at 10:51 PM
I installed the VLD and found that the file Microsoft.Cpp.x64.user.props was completely changed. Previously it was like
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="">
<ImportGroup Label="PropertySheets">
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup />
<ItemGroup />

After the installation, I found it was changed to
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="">
<ItemDefinitionGroup><ClCompile><AdditionalIncludeDirectories>C:\Program Files (x86)\Visual Leak Detector\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories></ClCompile><Link><AdditionalLibraryDirectories>C:\Program Files (x86)\Visual Leak Detector\lib\Win64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories></Link><Lib><AdditionalLibraryDirectories>C:\Program Files (x86)\Visual Leak Detector\lib\Win64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories></Lib></ItemDefinitionGroup></Project>
I found this change makes my project unable to compile any more. If I reverted it back to the original version, it could compile again. Then I manually added the include path in the project property window, and it still could compile, however, the output window in visual studio displayed the following message, and there is nothing in the output file describing the memory leak information. Note that I updated the library using the changes in

Exception thrown at 0x000007FEFD04A06D in xxx.exe: Microsoft C++ exception: EEMessageException at memory location 0x00000000005CC8C0.
Exception thrown at 0x000007FEFD04A06D (KernelBase.dll) in NanoNavigator.Main.exe: 0xE0434352 (parameters: 0xFFFFFFFF80131524, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x000007FEF82D0000).

I also tried to combine the original contents in Microsoft.Cpp.x64.user.props and the contents after installing VLD, it didn't help either.

Any suggestions are appreciated!