I have a small WPF application which used to compile just fine but is not anymore. I can\'t really say at which point it stopped building. It just worked fine one day, and t
Had this problem going round in circles wasting a few hours. I moved a separate user control dll into the project so it was compiled in the project and not a dll referenced. This broke the whole project so I then went through checking meticulously all namespaces, paths and file names. Tried deleting obj files, changing between release and debug, between x86 and AnyCPU. Opening saving all, recompile still no joy.
Remember having a similar problem before previously, the error flagged in VS2013 was not directly related to where I had to modify the XAML but by using
x:Name="myControl"
on all controls, instead of
Name="myControl"
fixed it.