Dave Burke : Freelance .NET Web Developer specializing in Online Communities

Silverlite: What to do if your XAML changes do not display

This is the first in a series I'm calling the "Silverlite" series, posts covering issues I encounter working with Silverlight 2.0.  I hope to work with Silverlight for a long time, so hopefully the series will be around for a long time, too.

Tonight's Silverlite looks at what to do if XAML file changes you make aren't being updated when you debug your project in Visual Studio or refresh your site XAP file. 

When a new SilverLight 2.0 project is created in VS2008, a Web Project is created to house the Silverlight project control as shown below.



The web project page contains the control in its \ClientBin\.XAP file, but a fresh compile (or F5 to Debug) isn't going to force a reload of the XAML.  A fresh XAML WILL occur if you touch the web.config, however.  So remember to touch your web.config if your XAML changes aren't displaying.

Comments (1) | Post RSS RSS comment feed

Posted on 11/9/2008 2:58:59 PM by Dave Burke
Categories: .NET | Silverlight

Related posts

Comments

11/11/2008 9:25:13 AM Permalink

Trackback from Community Blogs

Silverlight Cream for November 11, 2008 -- #424

Community Blogs |

Comments are closed

Copyright © 2008 Dave Burke Consulting  |  All Rights reserved.