On Sat, Feb 27, 2016 at 7:41 AM, Rob <
robert.be...@gmail.com> wrote:
> Have you enabled the x64 support on unit tests in visual studio?
> Under Test -> Test Settings -> "Default Processor Architecture" -> x64. By
> default it is x86. Sometimes you also have to restart visual studio in order
> for the change to take effect.
>
>
https://msdn.microsoft.com/en-us/library/ee782531.aspx
I had a similar issue myself. First with the test setting; indeed was
x86 and not x64, in my case.
Then with running an
ASP.NET MVC application hosting Google.OrTools;
still would like an Any CPU target, or even potentially a DNX Core,
but this will work for the time being.
Drop this in a .REG file and run it. That allows debugging against IIS
Express 64-bit.
<reg>
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\WebProjects]
"Use64BitIISExpress"=dword:00000001
</reg>
> On Thursday, November 27, 2014 at 3:41:57 PM UTC+2, Avishay Far wrote:
>>
>>
>> Hi
>>
>> I have implemented my LP modeling with the "OR-Tools" using the
>> LinearSolver.
>> and it works fine.. however when i try test my module with MSFT unit
>> tests (Microsoft.VisualStudio.TestTools.UnitTesting)
>> i get the error "System.BadImageFormatException: Could not load file or
>> assembly 'Google.OrToo'"
>> do you have any idea? i need run tests and i can't...
>> [this error also when i change the "Platfrom target" to X86 or X64.
>> i get this error when i run it via the visual stdio or via the resharper]
>>
>> thanks for your help
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "or-tools-discuss" group.
> To unsubscribe from this topic, visit
>
https://groups.google.com/d/topic/or-tools-discuss/VT_sD_TeVXM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to