Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Silverlight - temporary *.XCP files created

0.00/5 (No votes)
21 Aug 2010 1  
Temporary XCP files are created on the local drive and are not cleared up until the user manually deletes them.
Very recently, I had run across a problem with Silverlight where temporary files (*.XCP) were being created in the temp folder when a user was using IE7 (or IE6). These continued to be created without getting cleared up. They were not cleared up even when the browser was closed. Only a manual delete removed these files.

Some explanations and solutions are given here[^].

Unfortunately for me, even adding GC.Collect() to the code did not fix this problem.

After further analysis, I was able to trace the problem down to this KB[^].

Installing IE Security update 969897[^], however, finally fixed this issue for me.
A link to this hotfix is also provided within the KB.

I thought I'd collate this information and post it in a tip to help anyone else who might encounter a similar problem.

Cheers

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here