I suggest we ...

Add a symbol for FSI to check whether it's in 64 bit or 32 bit

Often I want to reference different libraries based on whether the FSI is running in 32 bit or 64 bit mode. I often have to test two versions of an assembly, and it's enough of a pain just changing the flag every time, let alone change the references. Being able to do:

#if 64_BIT
#r "My64BitLib.dll"
#r "My32BitLib.dll"

4 votes
Sign in
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Max shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

This is approved for inclusion in a future release of F# subject to an implementation and detailed design. A pull request to implement this feature will be necessary and we encourage contributors to submit one with adequate design detail and testing to http://github.com/Microsoft/visualfsharp. Discussion of the particular version for this to be included in can be made once an implementation is available.

Design detail can also be discussed below.

Don Syme, F# Language and Core Library Evolution.

1 comment

Sign in
Sign in with: facebook google
Signed in as (Sign out)

F# Language

Feedback and Knowledge Base