以 64 位运行测试

编程入门 行业动态 更新时间:2024-10-28 12:27:37
本文介绍了以 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 位运行测试

本文发布于:2023-11-04 17:20:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1558550.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:测试

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!