在64位运行测试测试

由网友(相信尘埃里会开出一朵花)分享简介:我得到了它被编译为64位的一个ADO.NET驱动程序。因此,我需要运行在64位模式mstests。这可能吗?I got a ADO.NET driver which is compiled as 64-bit. I therefore need to run mstests in 64-bit mode. Is th...

我得到了它被编译为64位的一个ADO.NET驱动程序。因此,我需要运行在64位模式mstests。这可能吗?

I got a ADO.NET driver which is compiled as 64-bit. I therefore need to run mstests in 64-bit mode. Is that possible?

(dev的机器是64位)。

(the dev machine is 64bit).

推荐答案

Visual Studio中有一个专门为此构建的选项。这是一个有点难找(如果你不知道去哪里找)。

Visual Studio has a built in option for this. It was a bit hard to find (if you do not know where to look).

双击上 local.testsettings 文件的解决方案资源管理器的选择主机的列表框。然后转变为图像显示。

Doubleclick on the local.testsettings file in Solution Explorer and select Hosts in the listbox. Then change as the image shows.

您必须做你的测试,一个64位操作系统和应用程序应与值为anycpu 进行编译。

You must do your tests in a 64-bit OS and your application should be compiled with AnyCPU.

阅读全文

相关推荐

最新文章