dotnet / dotnet/msbuild

TargetFramework AssemblyAttributes.cs file not deleted on Clean

Open
#6,894 1 comment 1 reaction 0 assignees View on GitHub
bug triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

### Issue Description

After dotnet/msbuild#5101, A file named (for example) `.NETFramework,Version=v4.0.AssemblyAttributes.cs` is written to `$(IntermediateOutputPath)` during build, but not cleaned.

### Steps to Reproduce

1. build a project
2. clean
3. observe obj directory

### Expected Behavior

Generated file is deleted.

### Analysis

This comment is now wrong and should be removed and the file added to FileWrites:

https://github.com/dotnet/msbuild/blob/c565b4f88bf039852e8077451697ac59098709e8/src/Tasks/Microsoft.Common.CurrentVersion.targets#L3317-L3320

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.