I do TDD so I run a LOT of unit tests per day. Every time I run a test, visual studio saves a new 12mb folder on my disk.
I went to the option panel > test tools > te开发者_运维知识库st execution and limited the number of old test results to 1. It didn't do a thing.
How can I disable that feature?
Try to setup the following cleanup script in your solution current test settings:
FOR /D %%I IN ("%TestDir%\..\*") DO (IF NOT "%%~fsI"=="%TestDir%" rmdir "%%~fsI" /s /q)
精彩评论