Why can't Visual Studio find my WPF InitializeComponent method?

前端 未结 14 1339
失恋的感觉
失恋的感觉 2020-12-16 08:49

This is very strange.

I have an XAML file that looks as follows...



        
14条回答
  •  悲&欢浪女
    2020-12-16 09:27

    Looks like this was a kink in Visual Studio 2008.

    If I create a new file (i.e. Title2), copy/paste the code and XAML, then change all 'Title' to 'Title2', everything works fine again.

提交回复
热议问题