Visual Studio scratch disk behavior

Posted by bobobobo on Stack Overflow See other posts from Stack Overflow or by bobobobo
Published on 2011-01-12T11:49:56Z Indexed on 2011/01/12 11:53 UTC
Read the original article Hit count: 234

I don't know if this feature exists, but I'd like a way to control Visual Studio 2010's scratch disk behavior (other than completely turning off intellisense).

Right now it creates a massive .sdf file in the project folder (50MB+), and then it goes and creates an IPCH folder with 60MB+ of precompiled headers.

All that's well and good while VS is running, but after it exits, I really would like the disk back.

Is there a way to configure vs 2010 to

  1. Use the same location (%AppData%\VSScratch) for scratch disk files (so its easier to blow it away?)
  2. Automatically delete .sdf /ipch on exit?

I know they don't delete them because its faster to startup.. but if you delete them yourself, startup time isn't that much increased..

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about diskspace