I would like to convert one of the unit test projects to use a json format of the project file. Unit tests are using NHibernate
and SQLLite
to execute. Project.json
file looks like this,
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"dependencies": {
"System.Data.SQLite.Core": "1.0.99",
"NUnit": "3.2.0",
"NUnitLite": "3.2.0",
"NSubstitute": "1.9.2"
},
"runtimes": {
"win": { },
"win-anycpu": {
"#import": [ "win" ]
}
},
"commands": {
"test": "Infrastructure.Test"
},
"frameworks": {
"dnx451": {
"dependencies": {
"Domain": "1.0.0-*",
"Infrastructure": "1.0.0-*"
}
}
},
"exclude": [
],
"publishExclude": [
"**.user",
"**.vspscc"
],
"scripts": {
"prepublish": [ "npm install", "bower install", "gulp clean", "gulp min" ]
}
}
The problem is when I try to run this, I am getting exception saying Unable to load DLL 'SQLite.Interop.dll':
I figure this is because there are 2 different x86 and x64 binaries of the above file shipped with the package and they are located in the bin folder.
How do I get this working? Full source can be found here
Aucun commentaire:
Enregistrer un commentaire