程序中用到SQLite,添加引用后会出现此错误。解决方法如下 在app.config的configuration节点下添加 <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> </startup> 参考: http://www.mysjtu.com/page/M0/S566/566095.html