What are all these *.FileListAbsolute.txt files for?

Visual Studio-2008

Visual Studio-2008 Problem Overview


What are the *.FileListAbsolute.txt files for that Visual Studio generates? They keep cluttering up my searches. Such as when I search for *.csproj for adding projects to a .sln.

Does Visual Studio use them? Is there any way to make it not generate them?

I STFW'd but it's filled with results of people listing directories that happen to have these files in them.

Visual Studio-2008 Solutions


Solution 1 - Visual Studio-2008

The FileListAbsolute.txt file contains the list of files built in the current build and in prior builds, and is used during a Clean and Rebuild to figure out which files to delete.

The file is necessary because in certain situations, such as a project that has been renamed, you want the Build system to be able to delete the older name.

Solution 2 - Visual Studio-2008

I know this is an older post...but I had this same issue and it turned out that I had accidently checked these into source control and not checked them back out, leaving them read only. The solution was to remove them from source control.

Solution 3 - Visual Studio-2008

It tracks files to be deleted upon clean. From Understanding the Clean target:

> [T]he common targets implement an honor-system method of tracking the output of "the last build". Well-behaved targets emit their outputs into an item named @(FileWrites), which is serialized to $(CleanFile) in the obj directory (it ends with .FileListAbsolute.txt) in a target named _CleanRecordFileWrites. Clean can then read that list and delete files in it during a subsequent MSBuild invocation.

Solution 4 - Visual Studio-2008

Im not sure why it's generated and am researching that now. VS writes to these files each time you compile. You can delete all of them and it will regenerate when you compile. (Use caution if you use svn and don't delete the svnbase files)

Solution 5 - Visual Studio-2008

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionscobiView Question on Stackoverflow
Solution 1 - Visual Studio-2008Dave Van den EyndeView Answer on Stackoverflow
Solution 2 - Visual Studio-2008ClayView Answer on Stackoverflow
Solution 3 - Visual Studio-2008Edward BreyView Answer on Stackoverflow
Solution 4 - Visual Studio-2008IanView Answer on Stackoverflow
Solution 5 - Visual Studio-2008AvramView Answer on Stackoverflow