在64位运行测试 [英] Run tests in 64-bit

查看:80
本文介绍了在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 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.

这篇关于在64位运行测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆