Possible Duplicate:
C# Failed to find or load the registered .Net Data Provider error
My application is a C# Winforms Entity Framework/SQLite driven desktop app. (buzzwords!)
When I run the application on my machine, it works correctly without a problem. But when creating the installation package and running it on another machine开发者_运维问答, I get this errro:
System.ArgumentException: The specified store provider cannot be found in the configuration, or is not valid. ---> System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.
How can I 'package' the data provider for SQLite? The only thing I installed on my dev machine was this: http://sqlite.phxsoftware.com/
Any suggestions?
Set the sqlite reference to copy local then include it in your package
精彩评论