0

dbFit 的新手。下载的 dbfit 1.1 版本成功执行了查询,除了一个查询。然后该查询将超时。

然后当我更新超时修复程序时 - 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()

关于解决方案的任何想法?

4

1 回答 1

0

你下载的是哪个?听起来您为其他软件正在使用的不同版本的 .Net Framework 下载了一个 zip 文件(所以可能是 4.0 而不是 2.0。)

于 2012-06-20T20:43:22.783 回答