我正在尝试在 macOS High Sierra 上使用 .NET Core + Ionide + VS Code + Fake + Paket。
使用项目生成器,我创建了一个名为Test
. Ionide 似乎已经生成了适当的文件。在调整TargetFramework
到 .NET Core 之后,我可以成功构建:
$ ./build.sh
...
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:03.72
Finished Target: Build
---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target Duration
------ --------
Clean 00:00:00.0026904
InstallDotNetCLI 00:00:01.2292511
Restore 00:00:04.2731055
Build 00:00:07.1234434
Total: 00:00:12.7035334
---------------------------------------------------------------------
Status: Ok
---------------------------------------------------------------------
现在有一些文件Test/bin
,但它们都不是.exe
,这是我期望的输出fsharpc
。
Ionide + Fake 将输出可执行文件放在哪里?
我的项目有OutputType
可执行文件:
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Test.fs" />
</ItemGroup>
<Import Project="..\.paket\Paket.Restore.targets" />
</Project>