Fitnesse在Dlls Loading上出错

时间:2014-09-03 05:18:46

标签: c# .net fitnesse fitnesse-slim

我在C#代码中创建了一个方法。此方法使用com库。当我尝试从Program.cs文件执行时,此方法成功运行,但是当我尝试从Fitnesse执行时,它给出了一个错误:

  

System.Runtime.InteropServices.COMException(0x80040154):由于以下错误,检索具有CLSID {A8A5AA2B-8D90-42DA-A2AE-26B0965AE3B2}的组件的COM类工厂失败:80040154。

Fitnesse工具的代码是:

!define COMMAND_PATTERN {%m -r fitnesse.fitserver.FitServer,dotnet2\fit.dll %p}
!define TEST_RUNNER {dotnet2\Runner.exe}

!path C:\Users\nitin.goel\Documents\Visual Studio 2010\Projects\HelloWorld\HelloWorldDemo\bin\Debug\HelloWorldDemo.dll

!| HelloWorldDemo.OurFirstTest |
| string1 | string2 | Concatenate? |
| Hello | World | Hello World |

!| HelloWorldDemo.OurFirstTest |
| int1 | int2 | Sum? |
| 1 | 2 | 3 |

!| HelloWorldDemo.OurFirstTest |
| Display? |
| |

!| HelloWorldDemo.OurFirstTest |
| OnApollo? |
| |

0 个答案:

没有答案