How to change ReSharper unit test architecture to x64?

后端 未结 7 1410
温柔的废话
温柔的废话 2021-02-08 22:21

In VS2012, I resolved a BadImageException from running a unit test by going to: TEST-> TEST SETTINGS -> DEFAULT PROCESSOR ARCHITECTURE -> x64.

This works in the built in

7条回答
  •  鱼传尺愫
    2021-02-08 22:46

    I tried different things that I found in Google and on StackOverflow (including other answers in this topic), but what worked for me is:

    ReSharper's Unit Test Sessions window -> on the top panel set Platform dropdown to 64-bit.

提交回复
热议问题