mirror of
https://github.com/aziascreations/BakaShrot.git
synced 2026-11-23 20:58:46 +01:00
1a1603f3f3
- bindings/csharp/NibblePoker.BakaShrot.Client: P/Invoke over the DLL's UTF-16 exports, one Client per handle (namespace NibblePoker.BakaShrot). C# 2 and the .NET 2.0 BCL only: net35 (.NET Framework 2.0 and up) and netstandard2.0 (.NET Core 2.0 and up, .NET 5 and up) - No JSON or TOML parsing: ListTopics, ListNodes and Query return the raw JSON string for the caller to parse; settings go to the constructor - The package: the four native libraries under runtimes/<rid>/native/, their THIRD-PARTY.txt under licenses/<rid>/, and a build/net35 .targets copying the right one next to .NET Framework apps (which ignore runtimes/) - CI: a nuget job after the four release builds packs it with the release's version and libraries, checks the listing and keeps it as the bakashrot-nuget artifact - Tests: an NUnit project (net48 and net8.0) against a real server with certificates from `bakashrot cert`, 13 tests - release.py ships BakaShrot.cs in csharp/; docs/client.md, building.md, readme.md, revamp.md (step 14) updated Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
812 B
XML
23 lines
812 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!-- net48: the net35 build, on .NET Framework. net8.0: the netstandard2.0 one. -->
|
|
<PropertyGroup>
|
|
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net48;net8.0</TargetFrameworks>
|
|
<TargetFramework Condition="'$(OS)' != 'Windows_NT'">net8.0</TargetFramework>
|
|
<LangVersion>latest</LangVersion>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>false</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
|
|
<PackageReference Include="NUnit" Version="3.14.0" />
|
|
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\NibblePoker.BakaShrot.Client\NibblePoker.BakaShrot.Client.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|