“The invocation of the constructor on type 'TestWPF.MainWindow' that matches the specified binding constraints threw an exception.”- how to fix this?

后端 未结 15 2248
遥遥无期
遥遥无期 2020-12-03 09:51

I\'m working with WPF. When I\'m trying to declare SQLiteConnection in the code, the problem arises-

The invocation of the constructor on type \         


        
15条回答
  •  醉酒成梦
    2020-12-03 10:24

    In my specific case, I was getting this because I had a few of my referencing assemblies mismatched between x64 and x86. Apparently I was binding to something that needed to be loaded by the runtime.

    I mention this here as a reminder to check your build configurations if you've looked everywhere else!

提交回复
热议问题