Jacob Saylor
Jacob Saylor

Reputation: 2381

Silverlight Project Not Updating When Ran

I'm currently developing with VS2010 RC and Silverlight 4 and ran into small problem. My project when ran, would show a version I had built about 4 hours ago. (I built the project using the Business Template) The project itself will not update, meaning all the forms, and controls.

I did the following:

Is there a known bug or something else I can try?

Upvotes: 4

Views: 1167

Answers (1)

DaveB
DaveB

Reputation: 9530

A few of things you might try:

1) Clear your cached/temporary internet files in your browser.

2) Make each url to the XAP unique to prevent client side caching. One technique using the Page class in ASP.NET:

<param name="source" value="<%=ResolveClientUrl("~/ClientBin/YourApp.xap?x=" + (new Random()).Next(1000000)) %>" />

For more see: Avoid incorrect Silverlight XAP file caching

3) Are you using a proxy server? Is there caching on the proxy server? The above method should prevent proxy server caching.

Upvotes: 3

Related Questions