-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgraf.fsproj
53 lines (47 loc) · 1.49 KB
/
graf.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
<!-- Ref: https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<BuildDir>build</BuildDir>
</PropertyGroup>
<Choose>
<When Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(NETCoreSdkVersion)', '7.0'))">
<PropertyGroup>
<TargetFrameworks>net7.0;net6.0</TargetFrameworks>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
</Otherwise>
</Choose>
<Choose>
<When Condition="'$(TargetFramework)' == 'net7.0'">
<PropertyGroup>
<PublishAot>true</PublishAot>
<StripSymbols>true</StripSymbols>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<PublishSingleFile>true</PublishSingleFile>
<PublishReadyToRun>true</PublishReadyToRun>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>
</Otherwise>
</Choose>
<PropertyGroup>
<InvariantGlobalization>true</InvariantGlobalization>
<ConcurrentGarbageCollection>false</ConcurrentGarbageCollection>
<RetainVMGarbageCollection>true</RetainVMGarbageCollection>
</PropertyGroup>
<ItemGroup>
<RuntimeHostConfigurationOption Include="System.GC.HeapHardLimit" Value="6291456" />
</ItemGroup>
<ItemGroup>
<Compile Include="Graf.fs" />
<Compile Include="RingBuffer.fs" />
<Compile Include="Program.fs" />
</ItemGroup>
</Project>