I've a windows form, connected to a sqlite db.
The application is running fine on my pc, but when I run it on any other pc I get the Message:
could not load file or assembly 'system.data.sqlite, version=1.0.84.0. culture=neutral, publickey token=db937bc2d44ff139' or one of irs dependencies
I've tried to change App.xml to:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" />
</startup>
</configuration>
The target machine has .NET 4.5 installed, and the problem isn't about .NET because the message only appears on classes that use sqlite.
I've tried to install Visual C++ 2010 SP1 Redistributable x86 but that didn't solve the problem.
But when I Installed Visual Studio, it worked like charm.
How should I run my application without installing Visual Studio on client machine?
Aucun commentaire:
Enregistrer un commentaire