markblue777
markblue777

Reputation: 879

XAML Parse Exception in Windows 8 C# metro style app

I am running Visual Studio 2012 SP1 and I am creating a Windows 8 C# Metro style app and I keep getting an error on "InitializeComponent()"

The error I receive is an "XamlParseException" and the detailed information is "XAML parsing failed."

The XAML for the page looks fine and is showing no errors.

Could it be something to do with SP1 (as prior to SP1 it was building OK).

Any help appreciated. Regards Mark

Upvotes: 1

Views: 865

Answers (2)

Igor Kulman
Igor Kulman

Reputation: 16361

It means there is a problem in your XAML. The exception detail usually contains the exact problem or at least the line number with the problem in your XAML. Check it out.

Upvotes: 0

notacat
notacat

Reputation: 691

check whether it's your issue: https://connect.microsoft.com/VisualStudio/feedback/details/773691/windowsstore-xamlparseexception-after-vs2012-update-1 If it is, the workaround is to rename either assembly or namespace so that they are the same.

Upvotes: 2

Related Questions