Run tests in 64-bit

后端 未结 3 1449
我在风中等你
我在风中等你 2020-12-18 22:02

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?

(the dev machine is 64bit).

3条回答
  •  独厮守ぢ
    2020-12-18 22:19

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

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

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

    Setting to change

提交回复
热议问题