문제

Is there an easy way for me to get the path of the executing .fsx file using FAKE? Powershell and (psake) by nature of its use and MSBUILD provide this functionality but as FAKE/F# a noob it is not immediately apparent how to do this.

도움이 되었습니까?

해결책

Try __SOURCE_DIRECTORY__ or __SOURCE_FILE__.

It should work like in every other F# script file see F# for scripting: location of script file.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top