My project, "VmmCsTest" is configured with Platform target: x64.
So why then does MSBuild say "the processor architecture of the project being built "MSIL" in the following warning message?
5>------ Build started: Project: VmmCsTest, Configuration: Debug x64 ------
5> ... :warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\\1\\Information\\bin\\x64\\Debug\\Information.dll", "AMD64". ...
Okay, so I debug the tests, and I get this:
A first chance exception of type 'System.BadImageFormatException' occurred in mscorlib.dll
Invoking x64 from a 64 bit process should work, so I'm guessing something is forcing the test to run as a 32 bit process. How do I figure out what the problem file is?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.