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: 149

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

  • diskspace in ubuntu

    as seen on Super User - Search for 'Super User'
    I have installed windows and ubuntu side by side .and given the diskspace of 10GB in an another drive partition.after using two moths i have installed some software to it no it's not starting and writing on the screen that there is no diskspace so could not be started . what can i do now?but at starting… >>> More

  • scritp to create automatically ext4 and swap in unallocated diskspace

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    i've to install a number of machines. Some machines have windows 7 installed. Some machines not. The machines have 0 or 2 or 3 partitions. Every machine has enough free diskspace (20 to 250 GB) I installed an "golden client" and build an tar archiv of this client. Now, every client boots up a small… >>> More

  • nginx tmp file folder runing out of diskspace

    as seen on Server Fault - Search for 'Server Fault'
    I get mysql diskspace error Can't create/write to file '/tmp/#sql_777_0.MYI' (Errcode: 28) mainly because my ngnix server is writing file into the tmp folder which doesn't get clean up.. i added this command as per instructions on the nginx manual to the crontab but doesn't seems to be doing… >>> More

  • Mysql out of disk space

    as seen on Server Fault - Search for 'Server Fault'
    I have just finished developing a rails app which has a mysql db as a backend. The app is meant for high traffic and will store lots of information. I am planning to set up my own web server and host the site from it. If in future my disk space runs out i would want to expand by adding more space… >>> More

  • Checkpoint FW-1disk full

    as seen on Server Fault - Search for 'Server Fault'
    Hi, The logging filled the disk of the managment node. This cause the firewall nodes to start logging locally. After deleting some old logs, restarting the managment node logging is still being done locally at the firewall nodes. I have already done a fw fetchlogs on all firewall nodes to get the… >>> More