dbFit新手。下载的dbfit 1.1版本成功执行了查询,但只有一个查询例外。然后该查询将超时。
然后,当我使用timeout - https://github.com/jediwhale/fitsharp的修复进行更新时,将失败。
然后返回以下错误:
System.ApplicationException: Type 'dbfit.sqlserver' could not be found in assemblies.
Assemblies searched: file:///C:/fitnesse20090321/fitnesse/dotnet/FitLibrary.DLL
file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
file:///C:/fitnesse20090321/fitnesse/dotnet/FitServer.exe
file:///C:/fitnesse20090321/fitnesse/dotnet/fit.DLL
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
Load errors: Could not load file or assembly 'file:///C:\fitnesse20090321\fitnesse\dotnet\dbfit.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded., Could not load file or assembly 'file:///C:\fitnesse20090321\fitnesse\dotnet\dbfit.sqlserver.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded., Could not load file or assembly 'file:///C:\fitnesse20090321\fitnesse\dotnet\dbfit.sybase.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded., Could not load file or assembly 'file:///C:\fitnesse20090321\fitnesse\dotnet\fitSharp.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded., Could not load file or assembly 'file:///C:\fitnesse20090321\fitnesse\classes' or one of its dependencies. The system cannot find the file specified., Could not load file or assembly 'file:///C:\fitnesse20090321\fitnesse\fitnesse.jar' or one of its dependencies. The module was expected to contain an assembly manifest.
at fit.Assemblies.FindType(TypeName theName)
at fit.TypeName.get_Type()
at fit.TypeName.CreateInstance()
at fit.Fixture.LoadClass(String theClassName)
at fit.StoryTest.DoTables()对解决方案有什么想法吗?
发布于 2012-06-21 04:43:23
你下载的是哪一个?这听起来像是您为其他软件正在使用的不同版本的.Net框架下载了一个压缩文件(所以可能是4.0而不是2.0 )。
https://stackoverflow.com/questions/10983979
复制相似问题