我使用yeoman fsharp模板创建了一个Fsharp控制台项目并添加了
<Target Name="Build" DependsOnTargets="$(BuildDependsOn)" Outputs="$(TargetPath)"/>
到项目文件。
使用xbuild的构建成功但没有创建exe。
xbuild的输出:
Finished Target: Clean
Starting Target: Build (==> Clean)
Building project: /Users/roger/Documents/MyTest/MyTest.fsproj
......
---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target Duration
------ --------
Clean 00:00:00.0044740
Build 00:00:00.3824361
Total: 00:00:00.4361535
Status: Ok
---------------------------------------------------------------------