Clearing the Offline cache / Windows CSC directory

By | September 12, 2017
  1. Create an empty, temporary directoryy. Such as c:\emptycsc
  2. run CMD as administrator
  3. robocopy c:\emptycsc c:\windows\csc\v2.0.6\cache /mir
    1. Alternatively, if looking to wipe _everything_ ; robocopy c:\emptycsc c:\windows\csc\v2.0.6\namespace /mir

Notes:

  • You won’t be able to use tab completion in CMD to browse to these directories, you just need to type them out. If you are unsure of what directories are in use or where the data is, I suggest downloading the free “TreeSize Free” application and run it as admin and do a scan on C:\.
  • robocopy /mir retains ownership and security permissions.. so this is good.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *