XAMLParseException driving me CRAZY!

前端 未结 3 600
故里飘歌
故里飘歌 2021-01-17 23:28

THIS XAMLParseException IS DRIVING ME CRAZY!! I am using .NET 3.5 in Visual Studio 1020 This is my xaml:



        
3条回答
  •  抹茶落季
    2021-01-17 23:58

    I know that this is an old question but hopefully this will help someone.

    I had a property of the main window that was a Business Object... so when the window initialized, the Business Object attempted to initialize... great, but the Data access layer had not been setup, therefore it threw an error...

    So c# called that an XML parse error because it happened so early... really it was thrown in code.

提交回复
热议问题