h1

ClickOnce Application Cache Location on Disk

July 31st, 2007, 8:33am

I have been working with ClickOnce a lot recently for work and one thing that comes in real handy when debugging deployment of your application (which takes way more than one click) is the actual location on disk of files that are downloaded from the ClickOnce server to the client machine. I knew that these files were downloaded and being run, but I simply could not find them in Windows Explorer. I tried all kinds of searches using both the indexed and non-indexed versions of Windows Search, but nothing came up. I don’t know why this isn’t more common knowledge, but here we go.

So, the first place you should look is here:
C:\Documents and Settings\_username_\Local Settings\Apps\_DotNet_Version_

However, since ClickOnce applications are not supposed to know where exactly the reside on disk (for a lot of reasons security and deployment considerations), the folder names get obfuscated from here. I would suggest just using the modified dates of the folders and files as clues in your search. Hopefully you don’t have too much stuff thrown in there. Another thought would be to explicitly add this folder to the Desktop Search index list (or maybe remove the explicity exclusion?), so then you could use good ‘ole search on it to find your files.

When I finally found the files I was looking for there were in this folder:
C:\Documents and Settings\Administrator\Local Settings\Apps\2.0\LCN10VZX.HD3\025C2B6R.1XJ\qdab..ient_f1fd3e157083502b_0002.0001_10859e55371bee77

Lame, huh? (and, yes, I know running as Administrator is stupid)

h1

WikiWorld?

July 27th, 2007, 1:27pm
h1

Backup Solution

July 21st, 2007, 1:48pm
h1

I am not there, I did not die.

July 18th, 2007, 8:37pm
h1

Rome

July 16th, 2007, 2:11pm
h1

Fiesta de San Fermín a.k.a. The Running of the Bulls

July 9th, 2007, 11:00am
h1

Barcelona

July 2nd, 2007, 10:59am
h1

Fiesta de San Juan

June 27th, 2007, 5:51pm
h1

Corrida de Toros - Bullfight

June 25th, 2007, 5:50pm
h1

Friday in Valencia

June 24th, 2007, 5:49pm