Skip to content

Clean target should delete files under obj directory #650

Closed

Description

@AArnott
git clone https://github.com/microsoft/vs-validation.git
cd vs-validation
git checkout acdf1788a
cd src\Microsoft.VisualStudio.Validation
msbuild /t:restore
msbuild
msbuild /t:clean

dir obj\Debug\net45

Expected

An empty directory

Actual

These files exist:

CoreCompileInputs.cache
Microsoft.VisualStudio.Validation.AssemblyInfo.cs
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

Of particular importance is the generated AssemblyInfo.cs file that remains, as that's a generated file and incremental build doesn't update it properly, so a clean build should definitely remove it.

Activity

  1. rainersigwald commented on Jan 17, 2017

    @rainersigwald
    Member

    The first one is from MSBuild's common targets: dotnet/msbuild#1577.

  2. added this to the 1.0 RTM milestone on Jan 19, 2017
  3. nguerrera commented on Jan 24, 2017

    @nguerrera
    Contributor

    @AArnott I'm not able to reproduce this either on d15prerel latest. The only file that remains is CoreCompileInputs.cache.

  4. nguerrera commented on Jan 24, 2017

    @nguerrera
    Contributor

    This may have been what fixed it: #276

    Does it still repro for you on latest bits?

  5. AArnott commented on Jan 25, 2017

    @AArnott
    ContributorAuthor

    It no longer repros for me with dotnet 1.0.0-rc4-004600.
    Thanks.

  6. added theissue type on Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions