Question

According to the LINQPad website, there are several different builds

How can I tell which I am running? The Help / About screen has a version number, but doesn't talk about platform.

Was it helpful?

Solution

The X64 build and the AnyCPU build are one and the same thing. I'll update the web site to make that clearer.

The Help | About screen will display (AnyCPU) after the version number if you're running that version.

OTHER TIPS

This may be an option as well.

There's a VS utility call CorFlags that can force an AnyCPU assembly to explicitly be 32bit on a 64 bit host.

I have added to environment variables (computer properties/advanced settings) to my host for easy conversion:

%linq32% = corflags k:\Downloads\LINQPad.exe /32BIT+ /Force&&k:\Downloads\LINQPad.exe
%linq64% = corflags k:\Downloads\LINQPad.exe /32BIT- /Force&&k:\Downloads\LINQPad.exe
------line difference is here----------------------^

When you run this from the VS command prompt, the path to CorFlags has been added to the app's environment table (%path%). If you don't want to run from the VS command prompt, you'll need to fully qualify the path to CorFlags...and will likely need other paths added to %path%

The && in the above is a command separator for cmd.exe. CorFlags.exe runs first, then LINQPad.exe runs next.

So, i just run the VS command prompt and type %linq32% when i need it to run as 32bit and %linq64% when i need 64bit.

Helpful for loading your own assemblies that might be cross-bitness.

(note, while this comment may not be directly related, the search term "linqpad 32bit" show this post as #3 in google so i put here for others)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top