GenTraceSources.targets 1.3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<Project>
  <PropertyGroup>
    <WindowsBaseAvTraceMessageFile>$(WpfSourceDir)\WindowsBase\AvTraceMessages.xml</WindowsBaseAvTraceMessageFile>
    <PresentationCoreAvTraceMessageFile>$(WpfSourceDir)\PresentationCore\AvTraceMessages.xml</PresentationCoreAvTraceMessageFile>
    <PresentationFrameworkAvTraceMessageFile>$(WpfSourceDir)\PresentationFramework\AvTraceMessages.xml</PresentationFrameworkAvTraceMessageFile>    
  </PropertyGroup>

  <ItemGroup>
    <None Include="$(MSBuildThisFileDirectory)PresentationTraceSources.tt">
      <Generator>TextTemplatingFileGenerator</Generator>
      <LastGenOutput>PresentationTraceSources.cs</LastGenOutput>
      <OutputFilePath>$(WpfSourceDir)\WindowsBase\System\Diagnostics\Generated\</OutputFilePath>
    </None>
    <None Update="PresentationTraceSources.cs">
      <DesignTime>True</DesignTime>
      <AutoGen>True</AutoGen>
      <DependentUpon>$(MSBuildThisFileDirectory)PresentationTraceSources.tt</DependentUpon>
    </None>
  </ItemGroup>
  <ItemGroup>
    <T4ParameterValues Include="AvTraceMessageFiles">
      <Value>$(WindowsBaseAvTraceMessageFile);$(PresentationCoreAvTraceMessageFile);$(PresentationFrameworkAvTraceMessageFile)</Value>
      <Visible>False</Visible>
    </T4ParameterValues>
  </ItemGroup>
</Project>