System.BadImageFormatException caused by NUnit project

前端 未结 10 1221
孤城傲影
孤城傲影 2020-12-10 02:03

Good day everyone. I have been having the same problem all day at work and am struggling to find any new paths to go down.

I am getting the following error when my

10条回答
  •  长情又很酷
    2020-12-10 02:36

    For anyone still having this issue, you also may need to set the framework field on the test runner to match the one in your included project (The field just to the right of the one referenced by AlexM).

    In my case, I was writing a test suite for a Windows Phone 8 library, and NUnit was unable to correctly figure out the framework version that it should use.

提交回复
热议问题