Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BadImageFormatException when building as x86. #4

Closed
SingleCopy opened this issue Sep 30, 2015 · 5 comments
Closed

BadImageFormatException when building as x86. #4

SingleCopy opened this issue Sep 30, 2015 · 5 comments
Milestone

Comments

@SingleCopy
Copy link

If you specify the target build to x86, the test runner calls the 64bit xunit console which throws a System.BadImageFormatException.

Would it be possible to specify the target platform and if x86 is picked to call xunit.console.x86.exe when setting up the build step?

@carlpett
Copy link
Owner

carlpett commented Oct 1, 2015

Hi @SingleCopy: Good idea! I'll add it to the feature requests, should be fairly simple to do.

@evil-shrike
Copy link

+1
please add an ability to run under x86-process. I'm also experiencing BadImageFormatException as my test assembly was build under x86 (there's a reason for this).

@kj0001
Copy link

kj0001 commented Jan 27, 2016

Also +1. I'm having the same issue.

@carlpett carlpett modified the milestone: 1.1 Jan 30, 2016
@carlpett
Copy link
Owner

I've finally had time to do some work on the plugin, and just uploaded a 1.1-prerelease version which supports setting the platform. @SingleCopy @evil-shrike or @kj0001, if any of you have a possibility to test that would be greatly appreciated!
I will do some more testing on my own production environments the upcoming week before declaring it final - primarily to verify backwards compatibility, as new parameters are introduced.

@carlpett
Copy link
Owner

We had a strange regression when I tested this internally, which turned out to be a bug in one of the teams' workflow. So, 1.1 is now released, and fixes this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants