Typically, for a C # / F # project without scripting, you can specify the InternalsVisibleTo attribute in the dependency assembly and be able to get intellisense for your internal types in the IDE. But in F # scripts, how do I configure the dependency assembly relative to the IDE that I use to get intellisense for internal types? Of course, for the script to work under fsi , I assume I need something like
[assembly:InternalsVisibleTo("fsi")]
But in order to get IDE support, should I also list every known IDE in the dependency assembly? It does not scale very well.
I searched the code and found this , where fsc , fsi , compiler assembly and their strong version names, etc. all of them are indicated, apparently, to host the IDE. This is exactly what concerns me, and I do not want the garbage collector of their meetings. Is there a better way?
f # f # -interactive
Kfl
source share