Reputation: 1
I am creating a XAML based application and running into a funky problem that isn't making any sense to me at all.
The problem: I make changes on my XAML, very minor ones such as changing the text content on my buttons. The design field reflects these changes as they should. However, when I run the project, the changes do not render themselves. The same window renders itself but the text content that was altered in the buttons do not change itself.
The problem is a microcosm of the bigger problem, which is that any kind of back end changes I make such as the data binding do not reflect themselves when the app is executed.
I am still exploring where i could be going wrong, but if anyone has any leads on this, I will much appreciate it!!!!
Thanks,
Parijat Kalia
Upvotes: 0
Views: 118
Reputation: 5927
As I understand it, Visual Studio (the compiler, more accurately) sometimes does not detect small changes made to the code. Doing a Clean or a Rebuild (which, IIRC, is a Clean & Build) should force VS to recompile all files without needing to check for changes.
The logic behing the changes detection is to speed up compilation, compiling only the changed files.
Upvotes: 0
Reputation: 3885
Delete your pdb files from bin/debug and rebuild your application.
Upvotes: 1