locked
how to enable WPP trace in visual studio 2015 RRS feed

  • Question

  • I add wpp lines in .vcxproj file as the following. but WPP still haven't show the WPP item in configure and compile failed.

    <ClCompile>
          <WppEnabled>true</WppEnabled>
          <WppRecorderEnabled>true</WppRecorderEnabled>
          <WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData>
          <WppKernelMode>false</WppKernelMode>
          <PrecompiledHeader>Use</PrecompiledHeader>
          <WarningLevel>Level3</WarningLevel>
          <Optimization>Disabled</Optimization>
          <PreprocessorDefinitions>_DEBUG;_WINRT_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
          <AdditionalUsingDirectories>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcpackages;C:\Program Files (x86)\Windows Kits\10\UnionMetadata;%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
          <CompileAsWinRT>true</CompileAsWinRT>
          <MinimalRebuild>false</MinimalRebuild>
          <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
          <DisableSpecificWarnings>4447;%(DisableSpecificWarnings)</DisableSpecificWarnings>
        </ClCompile>

    thank you very much

    Denny

    Monday, September 14, 2015 6:40 AM

Answers

  • Hi Denny,

    >>but WPP still haven't show the WPP item in configure and compile failed.

    How do you check it? And what is the failed error message? I would also suggest you ask question at driver forum since the project commands are comes from WDK instead of the original MSBuild elements: https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/home?forum=wdk

    Thanks for your understanding,

    --James


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Jamles Hez Wednesday, September 23, 2015 1:48 AM
    • Marked as answer by Jamles Hez Friday, September 25, 2015 1:50 AM
    Tuesday, September 15, 2015 7:29 AM