我正在使用 WPF。当我试图在代码中声明 SQLiteConnection
时,问题出现了-
The invocation of the constructor on type 'TestWPF.MainWindow' that matches the specified binding constraints threw an exception.
InnerException: Make sure that the file is a valid .NET Framework assembly.
谁能告诉我,如何解决?
最佳答案
如果您在异常窗口中单击查看详细信息...,您可以查看InnerException。展开该节点,您将确切地看到哪里出了问题。
关于c# - "The invocation of the constructor on type ' TestWPF.MainWindow ' that matches the specified binding constraints threw an exception."- 如何解决这个问题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8987091/