Changed my namespace and project names and now none of my WPF windows will load?
I did some reorganization of my project (what was i thinking) and I seem to have broken the WPF settings somewhere. I'm getting all kinds of errors about not being able to find methods related to WPF windows and even if i try to add a new window to the project i get errors like "The name 'InitializeComponent' does not exist in the current context." The xaml designer works fine but none of the code is seeing any of the xaml content.
I've already made sure that the namespace in my xaml files matches the code behind, made sure all the same references are added, made sure that the build action for each xaml file is set to page. One stack overflow post i found suggested to try deleting the obj folder and rebuilding the project, that didn't help. I've checked app.config to make sure the x:Class there matched the new name.
At this point I think it must be a project configuration setting somewhere but i'm running out of ideas on what to try. Any suggestions? Thanks!
0 comments:
Post a Comment