Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 39 additions & 39 deletions Solutions/Ais.Net.Benchmarks/Ais.Net.Benchmarks.csproj
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
</PropertyGroup>

<Import Project="..\Common.Net.proj" />

<PropertyGroup>
<OutputType>Exe</OutputType>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<Content Include="..\..\ExampleData\ais.kystverket.no\Ais1000Lines.nm4" Link="TestData\Ais1000Lines.nm4">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Ais.Net\Ais.Net.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="TestData\" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
</PropertyGroup>
<Import Project="..\Common.Net.proj" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<Content Include="..\..\ExampleData\ais.kystverket.no\Ais1000Lines.nm4" Link="TestData\Ais1000Lines.nm4">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Ais.Net\Ais.Net.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="TestData\" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>
67 changes: 34 additions & 33 deletions Solutions/Ais.Net/Ais.Net.csproj
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\Common.Net.proj" />

<PropertyGroup>
<!--
We need to target multiple versions, because .NET Standard 2.0's Stream.Read doesn't
support Memory<T>, which is important for performance.
We target .NET Standard 2.0, because that offers maximum reach (and in particular, enables
.NET Framework projects to use this library).
We target .NET Standard 2.1 because that adds Memory<T> support to Stream.Read, meaning that
we will be able to get full performance on all .NET runtimes that support netstandard2.1
-->
<TargetFramework></TargetFramework>
<TargetFrameworks>netstandard2.1;netstandard2.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.IO.Pipelines" Version="4.7.5" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Memory" Version="4.5.4" />
</ItemGroup>

<PropertyGroup>
<PackageLicenseExpression>AGPL-3.0-only</PackageLicenseExpression>
<PackageDescription>High performance, zero allocation AIS message decoder, which can process millions of AIVDM/AIVDO sentences per second on a single core. Sponsored by endjin.</PackageDescription>
<PackageTags>ais;aisvdm;aivdo;nmea;marine;gis;iot;aiforearth;endjin</PackageTags>
<PackageReleaseNotes></PackageReleaseNotes>
</PropertyGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\Common.Net.proj" />

<PropertyGroup>
<!--
We need to target multiple versions, because .NET Standard 2.0's Stream.Read doesn't
support Memory<T>, which is important for performance.
We target .NET Standard 2.0, because that offers maximum reach (and in particular, enables
.NET Framework projects to use this library).
We target .NET Standard 2.1 because that adds Memory<T> support to Stream.Read, meaning that
we will be able to get full performance on all .NET runtimes that support netstandard2.1
-->
<TargetFramework></TargetFramework>
<TargetFrameworks>netstandard2.1;netstandard2.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.IO.Pipelines" Version="4.7.5" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageReference Include="System.Memory" Version="4.5.4" />
</ItemGroup>

<PropertyGroup>
<PackageLicenseExpression>AGPL-3.0-only</PackageLicenseExpression>
<PackageDescription>High performance, zero allocation AIS message decoder, which can process millions of AIVDM/AIVDO sentences per second on a single core. Sponsored by endjin.</PackageDescription>
<PackageTags>ais;aisvdm;aivdo;nmea;marine;gis;iot;aiforearth;endjin</PackageTags>
<PackageReleaseNotes></PackageReleaseNotes>
</PropertyGroup>

</Project>
Loading