Trying to convert my existing project to MVVM, I created a new solution with 3 projects : M, VM and V.
When adding my user controls to the new project I added the .cs files only and not the xaml. Compiled the solution and realized my problem so i removed the files and the xaml individual so I got both.
Now however when I build, I get. "Data at the root level is invalid. Line 1, position 1. XML is not valid." and it lists the associated .cs file as the file it tried to parse. This happens for ALL of my XAML files.
I'm looking for a solution that does not have me recreate everything. Is there a config file that specifies what should be parsed?