2012-11-15 43 views
0

我無法將我的FitNesse測試連接到使用nServiceBus向MSMQ發送消息的c#項目。使用FitNesse發送nServiceBus消息

__EXCEPTION__:System.Reflection.TargetInvocationException: 
Exception has been thrown by the target of an invocation. 
---> System.InvalidOperationException: No configuration file found at: .\FitNesse\slim\Runner.exe.config, 
the default configuration for nservicebus requires an app.config to be present. Please add one! 

我試圖指向維基頁面的app.configapp.dll.config使用該標誌-a但都已經轉向了是不成功的。

+0

請將您的評論移至答案然後接受。這將幫助人們更容易地看到答案。 –

回答

0

我想通了,我複製了所有的第三方DLL到該文件夾​​包含Runner.exe並通過我的app.config複製並重命名爲Runner.exe。一切工作,希望這可以幫助別人。