user485567
user485567

Reputation: 25

Delete additional files when cleaning project

When executing build->clean solution in Visual Studio 2005 I want to also remove some debug text files that may exist in my build directory. The file name will always be the same, i.e. debug.txt. Is there a way to get Visual Studio to do this?

Upvotes: 2

Views: 2576

Answers (1)

Armen Tsirunyan
Armen Tsirunyan

Reputation: 133112

Go to Project->Properties and choose configuration properties. THere's an entry "Extensions to delete on clean". Add *.txt to it and that just should do the trick. Or you can explicitly specify debug.txt

Upvotes: 3

Related Questions