Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically deleteting old IntelliTrace recordings

I recently noticed that I collected 22GB worth of IntelliTrace recordings. Sadly, I was unable to find a location in the IntelliTrace settings that would allow me to automatically delete them.
Is there an solution to this in Visual Studio or do I have to take care of this myself?

edit: As Hans Passant suggested, I submitted a suggestion to connect.microsoft.com.

like image 787
Oliver Salzburg Avatar asked Jul 29 '10 13:07

Oliver Salzburg


2 Answers

You can specify the location of the IntelliTrace files in VS2012 settings...

Tools --> Options --> IntelliTrace --> Advanced.

Choose "Store IntelliTrace recordings in this directory" and tell it where you want to store the files.

Now you have a few options for deleting the files. You can write a Powershell script... or you can jump over to the Wintellect GitHub page https://github.com/Wintellect/WintellectPowerShell and grab John Robbins' Powershell scripts.

There is a command in there called "Remove-IntelliTraceFiles".

Et voila!

like image 138
Wil Bloodworth Avatar answered Sep 28 '22 09:09

Wil Bloodworth


There is currently no setting that will automatically cleanup the IntelliTrace files. Wait for SP1.

like image 35
Evan Avatar answered Sep 28 '22 09:09

Evan