然而,试图创建一个SquirrelPack目标似乎并不适用于我使用这些文档:
`// line 84 Target "CreateSquirrelPackage" (fun _ -> SquirrelPack (fun p -> {p with WorkingDir = "./tmp"}) "./my.nuget" ) // line 88` 输出
`build.fsx(86,49): error FS0001: This expression was expected to have type string option but here has type string` 有人能让SquirrelPack在F#Fake工作吗?
发布于 2015-12-07 17:46:25
WorkingDir string option,但你想把它变成一个string。
这应该是可行的:
Target "CreateSquirrelPackage" (fun _ ->
SquirrelPack (fun p -> {p with WorkingDir = Some "./tmp"}) "./my.nuget"
)https://stackoverflow.com/questions/34138307
复制相似问题