質問

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