NCrunch Forum
»
General Support
»
Build/Test Issues
»
Failing intergration test with ncrunch not with ReSharper NUnit
Rank: Newbie
Groups: Registered
Joined: 4/13/2012(UTC) Posts: 2 Location: The Hauge
|
I get the following error when i try to run Database tests with NCrunch.
SetUp : Castle.ActiveRecord.Framework.ActiveRecordException : Could not create the schema ----> NHibernate.HibernateException : Could not create the driver from NHibernate.Driver.SQLite20Driver. ----> System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> NHibernate.HibernateException : The IDbCommand and IDbConnection implementation in the assembly System.Data.SQLite could not be found. Ensure that the assembly System.Data.SQLite is located in the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use <qualifyAssembly/> element in the application configuration file to specify the full name of the assembly.
I could just put the dll in the GAC but there must be a better solution. any one know of one?
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 4/13/2012(UTC) Posts: 2 Location: The Hauge
|
apparently the use CPU aritecture auto detect function is a bit off. when i set it to x64 it works. kinda strange as my machine is x64 and the solution is set to any cpu.
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,143
Thanks: 959 times Was thanked: 1290 time(s) in 1196 post(s)
|
Hi, thanks for posting! Yes the behaviour of NCrunch around x86/x64 is different in NCrunch vs ReSharper. There is no standard for how test runners should behave between x86 and x64 environments, so unfortunately there is no right answer for how to approach this. You made the right move by choosing the x64 configuration option.
|
|
|
|
NCrunch Forum
»
General Support
»
Build/Test Issues
»
Failing intergration test with ncrunch not with ReSharper NUnit
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
YAF |
YAF © 2003-2011, Yet Another Forum.NETThis page was generated in 0.026 seconds.