dotnet / dotnet/msbuild

Unable to disable msbuild tlog generation

Open
#10,814 8 comments 4 reactions 0 assignees View on GitHub
Priority:3 triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

### Issue Description

I was under the impression that tolog files can be disabled by adding

```

false

```
to my `vcxproj` file. I have been unable to get this to work.

[myproject.zip](https://github.com/user-attachments/files/17370307/myproject.zip)

### 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

```

false

```

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.