jeudi 5 février 2015

How to run CMD Open VS2012 x64 Native Tools Command Prompt in 64 bit?


Vote count:

0




I encounter a problem of unit test. When I running unit test, some DLLs need 64 bit. VS IDE I understand how to set 64 bit for unit test. But I don't know how to set 64 bit for CMD when running unit test. For example: As below command work is OK, but some test methods cannot load some Dlls. Exception: System.BadImageFormatException: Could not load file or assembly ' DLL message.' or one of its dependencies. An attempt was made to load a program with an incorrect format.



...>mstest /testcontainer:tests.dll


I try to use this command:



...>mstest /testcontainer:tests.dll /platform:x64


but it's not work.


If you have any suggestion please tell me, Thank you very much!



asked 1 min ago







How to run CMD Open VS2012 x64 Native Tools Command Prompt in 64 bit?

Aucun commentaire:

Enregistrer un commentaire