views:

2679

answers:

3

Today I ran WinDirStat to check what is filling up my harddisk. I was surprised to see that this folder contains 4.6 GB (!):

C:\Users\...\AppData\Roaming\Microsoft\VisualStudio\9.0\ReflectedSchemas

What is the purpose of this folder and the files it contains? Is there a way to get rid of these files in a safe way?

Thanks!

+4  A: 

I've tried to empty the folder completely, and have no problems found since i've done. When launching a project in VS, a new schema was created.

Edit: you can also move the folder and put it back when you believe you screwed things up...

dampee
When I emptied the folder I found I'd lost all intellisense when working with ascx files. Completely deleting the ReflectedSchemas folder and restarting Visual Studio seemed to correctly regenerate the required xsd.
Daniel Ballinger
+1  A: 

Just found out that I have 35.1 GB

What?!? Jeez... that's a lot of GB.
splattne
I've got ~15,000 files in my folder, many of them identical (e.g. the schema for the Telerik Rad Controls). Seems like the generation algorithm is faulty.
devstuff
+1  A: 

This drives me crazy and hopefully it will be fixed in VS 2010; however, I found another solution to this problem.

My "fix" is to use the "Junction" tool to map the folder to another drive. If you're like me and have a second drive, then you can use window's Junction tool to create something like a symbolic link to map the folder to another drive.

Best of all, you no longer need to use the command line. This freeware tool works great: Junction Link Magic.

Michael La Voie