I've just encountered a strange mistake in a Silverlight project I'm working on with Visual WebDeveloper Express. When I change the MainPage.xaml file the changes show up in the editor window and the project is compiled without problems. However during Debug Mode the website hasn't changed.
My goal was to implement a very simple image viewer for my father: One big image with a small progressbar below. It should be possible to set up a few images that are shown one after another in the huge image control. This is what I did.
So far everything went fine. Debugging showed an empty website with a small bar at the bottom.
After some struggles with Visual WebDeveloper the image was accepted and could be seen in the editor's preview area.
I don't know what's wrong with my project but the builds seem to have frozen. Just for fun I replaced the image with one giant button. Nothing happened. Compilation was performed without errors but on the website there was no button. After a few other simple tests I was sure: Changes don't apply anymore. This is the compiler output, sorry but it's German :
------ Erstellen gestartet: Projekt: papa_images, Konfiguration: Debug Any CPU ------ papa_images -> K:\extharddrive\dokumente\workspace\papa_images\papa_images\Bin\Debug\papa_images.dll Generierung des Anwendungsmanifests starten Es wurden keine Änderungen ermittelt. Die Anwendungsmanifestdatei ist auf dem neuesten Stand.
XAP-Verpackung starten Es wurden keine Änderungen ermittelt. Das XAP-Paket ist auf dem neuesten Stand. Die Testseite wird erstellt. Die Testseite wurde erfolgreich erstellt.========== Build: 1 erfolgreich oder aktuell, Fehler bei 0, 0 übersprungen
This is an English version of the last two lines
Build: 1 successful or up to date, error at 0, 0 skipped
What shall I do ?
Edit:
I just made an interesting discovery:
Obviously Firefox 3.6.1 prevents proper rebuilding. Why ? @ Robaticus maybe you're right and Firefox does store the site in some kind of cache. However I'm not able to clear it : The button "delete chronic" is disabled because I'm always using private mode.
Edit 2: Firefox 4 Beta 7 does the job. The changes are applied. Still I would like to know how to use Firefox 3.
Tagging on to ChrisF, you may also want to explicitly clear your chache on your browser. I've had that happen before, where the XAP file gets cached for some reason, and never appears to update.