3

I've been writing a UI heavy program in C# with WPF. Suddenly, the changes that I'm making to my XAML code have stopped having any effect on the compiled program. I've tried re-compiling, cleaning and doing a total rebuild, and restarting, all to no avail. I don't know if this is helpful, but I can write nonsense in the XAML, and of course Intellisense goes crazy, but it still compiles and runs as though I haven't changed anything. I can even delete the entire XAML text, recompile, and it still runs as though nothing has changed. I'm presuming this is some kind of bug or setting in Visual Studio. More likely than not its super obvious and I'm completely overlooking it. Anyone have any thoughts?

4

1 回答 1

0

For those who are interested, I managed to resolve the issue by launching a new project and copying the code over. A bit of a blunt approach, but it worked. Thus, the problem must indeed have been a settings issue, as we suspected. Thanks for your efforts XAMeLi!

于 2012-05-10T04:31:26.160 回答