Monday, August 08, 2011 8:05 AM
I am experiencing a strange problem with visual studio or Silverlight.
Any changes I put in my xaml do not show up.
I have wipped the page clean of any xaml code to see if that would do anything at all. And it does not. When running the project everything is still there.
I am not sure what is going on. It was working just fine until an hour ago. Changes were reflected as they should be.
The silverlight and web projects are in the same solution, I used the business app template when I created it a month ago. It has been working fine for the last month.
I tried clearing the solution and rebuilding it. I tried restarting my PC after clearing the solution; I tried deleting the xap file from my web project.
I don’t appear to be able to add any code anymore.
Please help, I am completely lost.
Monday, August 08, 2011 8:38 AM
Your browser might be caching the xap. Try clearing your cache/history. How you'd go about doing that depends on what browser you're using.
Monday, August 08, 2011 9:20 AM
If it happens to me, I just manually add a ?p=1 (just a dummy value thing) at the end of the url... for exmaple:
Does that help?
Monday, August 08, 2011 9:24 AM
Turns out it was browser caching.
I guess it must have happened when i changed to firefox as default browser.
Is there anywy i can stop my app from being cached?
Monday, August 08, 2011 9:36 AM
similar to what robcube said:
some people use a 'version' string that you manually update (and republish the hosting page). other people use a random guid or current datetime string. however, if you use the latter, the xap file will be downloaded by each client every time they visit the page - not good if your project is big.
Tuesday, August 09, 2011 11:02 AM
Yes, of course, i don't want to have it releaded avery time, when the client is using it.
I chose to go back to EI, and it just works. I will leave it for now.
Thanks for your help everyone.