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

查看:20
本文介绍了以 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?

(开发机器是 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文件,然后在列表框中选择Hosts.然后如图所示进行更改.

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天全站免登陆