Closed nicenemo closed 8 years ago
I can't reproduce this. Did you try building the solution before running the scripts?
yes I did a build all. and using fsi from within vs 2015. cwd is set to something like appdata\temp can try again tomorrow with complete log/screenshots if that helps.
The cwd shouldn't factor in here. Relative paths in #r and #I directives are resolved w.r.t. the source file directory.
@nicenemo If you can send us repro steps that would be great.
I Installed F# as documented for use without Visual Studio. I planned to try Visual Studio Code. Could not get it working easily for something simple as a command line tool. Planning to look into that later. Installed Visual Studio Community 2015 with all options instead. I downloaded the repo using git command line to my local machine. opened the solution. Build it. It builds fine. copied the #load command to F# interactive --> error without the mentioned search path addition
any further steps I can to do to clarify? uninstall everything, start from scratch and record everyting?
Instead of copying and pasting code to the REPL, try highlighting it from the editor and then hit Alt+Enter.
Ευχαριστώ πολύ!, that works indeed. However by selecting the menu option after right clicking. Alt Enter does not seem to work
No problem! Closing this then :)
When trying the handson tutorial from fsi within Visual Studio 2015 you get messages about not being able to find thespiancluster.fsx in the cwd. Trying to change the cwd as found on Stackoverflow does not work for this problem.
Using something like #I @"c:\users\hans\source\repos\mbrace\mbrace.starterkit\handsontutorial" does work. A hint to use the above or something better saves F# novices like me 20 minutes.