-
Notifications
You must be signed in to change notification settings - Fork 68
/
Equinox.Tool.fsproj
74 lines (63 loc) · 3.61 KB
/
Equinox.Tool.fsproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks>
<OutputType>Exe</OutputType>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<WarningLevel>5</WarningLevel>
<IsTestProject>false</IsTestProject>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<DisableImplicitSystemValueTupleReference>true</DisableImplicitSystemValueTupleReference>
<PackageId>Equinox.Tool</PackageId>
<AssemblyName>eqx</AssemblyName>
<!-- workaround for not being able to make Backend and Domain as inlined in a complete way https://github.com/nuget/home/issues/3891#issuecomment-377319939 -->
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
</PropertyGroup>
<ItemGroup>
<Compile Include="Infrastructure\Infrastructure.fs" />
<Compile Include="Infrastructure\HttpHelpers.fs" />
<Compile Include="Infrastructure\Types.fs" />
<Compile Include="Infrastructure\Aggregate.fs" />
<Compile Include="Infrastructure\LoadTestRunner.fs" />
<Compile Include="Infrastructure\LocalLoadTestRunner.fs" />
<Compile Include="StoreClient.fs" />
<Compile Include="TodoClient.fs" />
<Compile Include="Tests.fs" />
<Compile Include="Program.fs" />
</ItemGroup>
<ItemGroup>
<!-- workaround for not being able to make Backend and Domain as inlined in a complete way https://github.com/nuget/home/issues/3891#issuecomment-377319939 -->
<ProjectReference Include="..\..\samples\TodoBackend\TodoBackend.fsproj" PrivateAssets="all" />
<ProjectReference Include="..\..\samples\Store\Backend\Backend.fsproj" PrivateAssets="all" />
<ProjectReference Include="..\..\samples\Store\Domain\Domain.fsproj" PrivateAssets="all" />
<ProjectReference Include="..\..\samples\Infrastructure\Infrastructure.fsproj" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MinVer" Version="1.0.0-beta.2" PrivateAssets="All" />
<PackageReference Include="Argu" Version="5.1.0" />
<!--Handle TypeShape-restriction; would otherwise use 3.1.2.5-->
<PackageReference Include="FSharp.Core" Version="4.0.0.1" Condition=" '$(TargetFramework)' == 'net461' " />
<PackageReference Include="FSharp.Core" Version="4.3.4" Condition=" '$(TargetFramework)' == 'netcoreapp2.1' " />
<PackageReference Include="MathNet.Numerics" Version="4.6.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
<PackageReference Include="Serilog.Sinks.Seq" Version="4.0.0" />
<PackageReference Include="System.Reactive" Version="4.0.0" />
</ItemGroup>
<!-- bundle the net461 exe inside the .net core tool package -->
<PropertyGroup Condition=" '$(PackAsTool)' == 'true' ">
<TargetFrameworks></TargetFrameworks>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<ItemGroup Condition=" '$(PackAsTool)' == 'true' ">
<Content Include="$(RepoDir)/bin/equinox-tool/net461/*">
<Pack>true</Pack>
<PackagePath>tools\net461\any\%(Filename)%(Extension)</PackagePath>
<Visible>true</Visible>
</Content>
</ItemGroup>
<!-- workaround for not being able to make Backend and Domain as inlined in a complete way https://github.com/nuget/home/issues/3891#issuecomment-377319939 -->
<Target Name="CopyProjectReferencesToPackage" DependsOnTargets="ResolveReferences">
<ItemGroup>
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths -> WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))" />
</ItemGroup>
</Target>
</Project>