Cédric Boivin
Cédric Boivin

Reputation: 11361

Silverlight or ClientBin problem?

I have a ridiculous problem here. I got IIS 7.0, with a silverlight files in clientBin.

If I put my .xap up to date, my silverlight file are not update. Maybe a cache somewhere, so I deleted asp net temporary, I delete my browser cache, I also delete the .xap file in the IIS folder, and when I try to download the .xap again the browser gives me the silverlight file also even if it is deleted.

From where this file coming from? I try the same thing with a image in the client bin folder and I get the same bizarre problem.

What do I need to clear to refresh the ClientBin folder.?

I also try to reboot IIS, iisreset, stop the application and web site, try to force IIS to expired cache immediately, no luck with any of this.

Could somebody help me ?

Upvotes: 3

Views: 1267

Answers (1)

NakedBrunch
NakedBrunch

Reputation: 49423

The best way is to load your xap file with a querystring. This will force the browser to get the latest version

<param name="source" value="/ClientBin/MySilverlightApp.xap?v=12345" />

Upvotes: 2

Related Questions