Speaking of Xaml, has anybody looked that the automatic code generation for WPF pages?
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WPFControlLib;component/usercontrol1.xaml", System.UriKind.Relative);
#line 1 "..\..\UserControl1.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}"resourceLocater"? Seriously, Microsoft?