How can I get F# Interactive window to use the same path as the project? -
in project opening file relative path executable. trying test code in f# interractive window, seems run different path. how can change path/ make run same path project?
i think __source_directory__
identifier here.
you should use compiler directives separate between using f# interactive , compiling f# project.
#if interactive let path = __source_directory__ + some_relative_path #else let path = another_relative_path #endif
Comments
Post a Comment