msbuild
msbuild copied to clipboard
Unable to disable msbuild tlog generation
Issue Description
I was under the impression that tolog files can be disabled by adding
<PropertyGroup Label="Globals">
<TrackFileAccess>false</TrackFileAccess>
</PropertyGroup>
to my vcxproj file. I have been unable to get this to work.
Steps to Reproduce
create hello world: https://learn.microsoft.com/en-us/cpp/build/walkthrough-using-msbuild-to-create-a-visual-cpp-project?view=msvc-170
Add
<PropertyGroup Label="Globals">
<TrackFileAccess>false</TrackFileAccess>
</PropertyGroup>
to myproject.vcxproj. Then run
msbuild .\myproject.vcxproj /p:configuration=debug
Expected Behavior
no debug\myproject.tlog\*.tlog files are created
Actual Behavior
many tlog files are generated in the debug folder
Analysis
very limited support docs exist
Versions & Configurations
msbuild --version
MSBuild version 17.11.9+a69bbaaf5 for .NET Framework
17.11.9.46202