How to change ReSharper unit test architecture to x64?

后端 未结 7 1420
温柔的废话
温柔的废话 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:41

    When working with high memory code you may find you need to alter the R# test runner config to include

    
        
    
    

    You can find this file located at

    %localappdata%\JetBrains\Installations\ReSharperPlatformVs12\
    JetBrains.ReSharper.TaskRunner.CLR45.x64.exe.config
    

    This path is likely dependudant upon Visual Studio version and may vary upon R# version. This specific path is Visual Studio 2013 with Resharper 9.1. Recurrent issue with Resharper 10. Location of config file is unchanged. https://youtrack.jetbrains.com/issue/RSRP-446178

提交回复
热议问题