dotnet / dotnet/wpf

Certain MSBuild configuration causes _wpftmp build output directories to not be deleted after each build

Open
#2,930 37 comments 22 reactions 1 assignee Claimed by @Kuldeep-MS View on GitHub
Investigate WindowsDesktop SDK
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

.NET Core 3.1.201
Windows 10 build 18363

**Problem description:**

Certain MSBuild configuration causes the compiler to leave behind directories with a `_wpftmp` suffix after a build completes. The problem seems to be related to custom ``s.

**Actual behavior:**

Temporary output directories are left behind after every build. A new directory is created per build.

**Expected behavior:**

Temporary output directories are deleted after every build.

**Minimal repro:**

[WpfApp1.zip](https://github.com/dotnet/wpf/files/4526132/WpfApp1.zip)

![image](https://user-images.githubusercontent.com/40613229/80165374-5fb6bc80-85a9-11ea-80ac-109c3d227437.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.