You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Projects which use WPP tracing (WindowsAplicationForDriversXX) and do include the tmh files will raise errors such as: C:\...\myfile.c:8:10: fatal error: 'myfile.tmh' file not found
Hi,
I have attached a zip for a sample application.
Afaik MsBuild uses a WPP precompiler, which generates these tmh files, which contains macros for logging messages trough ETW.
From a procmon log we can see that the MsBuild.exe starts the C:\Program Files (x86)\MSBuild\14.0\bin\Tracker.exe with a commandline which then starts the tracewpp.exe, to generate these tmh files.
As a solution you could generate temporary tmh files which contain only the macros with empty bodies from the comment in the trace.h file.
Projects which use WPP tracing (WindowsAplicationForDriversXX) and do include the tmh files will raise errors such as:
C:\...\myfile.c:8:10: fatal error: 'myfile.tmh' file not found
example source file:
example trace.h:
The text was updated successfully, but these errors were encountered: