Resharper 5.1, How to run Unit Tests in 32bit mode

We have a web application using LINQ under .NET, now for whatever reason we have to

run this app in a 32bit app pool under IIS to work around a known linq issue.

Under the previous version of Resharper i think V4, we had a unit test that ran fine, now under Resharper 5.1 this unit test consumes GB's of ram then hangs the PC, this is the same behaviour if we run our application in a 64 bit application pool.

I believe Resharper is running our unit test in 64bit and we need to "tell" it to run as 32bit?, my question is, how would I do this?

We are running Windows 7 64bit, under VS2008

Thanks in advance

1 comment
Comment actions Permalink

Hello,

ReSharper chooses between 32-bit and 64-bit mode based on the project platform
and on the operating system. What platform did you configure for your test
project? Is it x86, x64 or AnyCPU? In order to force the unit test runner
to run in 32-bit mode you can choose x86 platform for your unit test project.
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

We have a web application using LINQ under .NET, now for whatever
reason we have to run this app in a 32bit app pool under IIS to work
around a known linq issue.

Under the previous version of Resharper i think V4, we had a unit test
that ran fine, now under Resharper 5.1 this unit test consumes GB's of
ram then hangs the PC, this is the same behaviour if we run our
application in a 64 bit application pool.

I believe Resharper is running our unit test in 64bit and we need to
"tell" it to run as 32bit?, my question is, how would I do this?

We are running Windows 7 64bit, under VS2008

Thanks in advance

---
Original message URL:
http://devnet.jetbrains.net/message/5275375#5275375



0

Please sign in to leave a comment.