I'm trying to access some files in a directory relative to my F# code. However, I can't get __SOURCE_DIRECTORY__ to return anything other than /.
I've managed to use __SOURCE_DIRECTORY__ in Visual Studio on Windows, so can't work out what the problem could be.
I'm seeing this whether I type directly into F# Interactive, create a script file and save it somewhere, or create a project.
The workaround I'm using at present is to hardcode the path to the files, but this shouldn't be necessary.
Version number and other info are as follows:

Update: 1. It works when using F# interactive from a Terminal/Command window

