[wp7dev] Error code 0xc00cee65 and duplicate XML namespaces

By jay at July 29, 2011 07:32 Tags: ,
There are times when you feel almost alone, particularly when you type an error code in google, and nothing comes up.
I got that interesting and particularly verbose exception when doing some XAML refactoring for a Windows Phone 7 application :

An unhandled exception of type 'System.Exception' occurred in System.Windows.dll
Additional information: 0xc00cee65

Turns out it was due to this :

 

xmlns:ucontrols2="clr-namespace:Company.Views.Controls;assembly=Company.Views.Phone"  
xmlns:ucontrols="clr-namespace:Company.Views.Controls;assembly=Company.Views.Phone"

 

Where two xml namespaces were referencing the same CLR namespaces and assembly. Merging the two namespaces fixed this issue.

 

Tough one...
blog comments powered by Disqus

About me

My name is Jerome Laban, I am a Software Architect, C# MVP and .NET enthustiast from Montréal, QC. You will find my blog on this site, where I'm adding my thoughts on current events, or the things I'm working on, such as the Remote Control for Windows Phone.