FitSharp 和 x86 .Net dll
我有一个编译成 x86 dll 的 ActionFixture。当我从 Fitnesse 运行测试时,测试开始但从未结束。有没有办法让fitnesse运行编译为x86的dll?
I have an ActionFixture that is compiled into a x86 dll. When I run the test from fitnesse test starts but never finishes. Is there any way to get fitnesse to run a dll compiled as x86?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果将 dll 编译为 32 位 (x86),则在使用 fsharp runner.exe 运行健身测试时可能会遇到问题。我用来解决该问题的解决方案是针对 runner.exe 运行 corflags.exe。这将有效地将运行程序更改为 32 位应用程序。 corflags 是 Windows Development SDK 的一部分,可以从 Microsoft 网站下载。
If you compile your dll's as 32 bit (x86) you may encounter problems when running fitnesse tests using the fsharp runner.exe. The solution I have used to resolve the problem is to run corflags.exe against the runner.exe. This will effectively change the runner to a 32 bit application. corflags comes as part of the Windows Development SDK which can be downloaded off the Microsoft website.
不确定发生了什么。使用 GUI 运行程序运行并查看是否出现异常。请参阅http://www.asoftwarecraft.com/2010/01/故障排除-with-fitsharp-and.html
Not sure what's happening. Run with the GUI runner and see if you get an exception. See http://www.asoftwarecraft.com/2010/01/troubleshooting-with-fitsharp-and.html