Visual Studio Leaves Numerous Files After Each Application Run

RogerSchlueter-7899 1,486 Reputation points
2025-08-25T14:39:53.3233333+00:00

Every time I make a debug or release run of the applications I am working on, Visual Studio generates five files that do not get cleaned up. Assume my application (which uses the x64 platform) is named ABC, these files are located in:

ABC\obj\x64\Debug\net8.0-windows

ABC\obj\x64\Debug\net8.0-windows10.0.26100.0

and

ABC\obj\x64\Release\net8.0-windows

ABC\obj\x64\Release\net8.0-windows10.0.26100.0

Again with my application named ABC and with String8 being an (apparently) random string of eight characters, the files are named:

ABC_String8_wpftmp.AssemblyInfo.vb

ABC_String8_wpftmp.AssemblyInfoInputs.cache

ABC_String8_wpftmp.assets.cache

ABC_String8_wpftmp.GeneratedMSBuildEditorConfig.editorconfig

ABC_String8_wpftmp.vbproj.BuildWithSkipAnalyzers

I just recently discovered this so hundreds and hundreds of these files had accumulated in those directories. Is this normal behavior? Is there a Visual Studio setting that would tell it to delete these files?

Developer technologies | Windows Presentation Foundation
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 79,526 Reputation points Volunteer Moderator
    2025-08-25T15:54:07.6533333+00:00

    yes. These files are the output of the source compile. they are only recreated by the build, if the source files are newer. there is a folder for debug vs release, and subfolder for each architecture.

    note: if you delete them, the next build will recreate them, though the build may be slow.


1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.