To add support for new native platform do:
- create/delete new subdirectory in
nativedirectory, folder name must correspond with RID of target platform - remove platform
RIDfromRuntimeIdentifiersin PrivmxEndpointCsharp.csproj - add/remove configuration responsible for packing native libraries to nuget in PrivmxEndpointCsharp.csproj
- Update version in PrivmEndpointCsharp.csproj
- Add native libraries to subdirectories in
nativedirectory. If you have doubts on what kind of files should go to the directories check: - change PrivmxEndpointCsharp license fields in PrivmEndpointCsharp.csproj:
- replace
with
<PropertyGroup> <PackageLicenseExpression>MIT</PackageLicenseExpression> </PropertyGroup><PropertyGroup> <PackageLicenseFile>LICENSE</PackageLicenseFile> <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> </PropertyGroup>
- replace
- Get latest
PrivMX Free Licensefile fromhttps://cdn.privmx.dev/cdn/privmx-cms/download/privmx_www/assets/PrivMX%20Free%20License.pdfand add it to project files as./PrivmxEndpointCsharp/LICENSE - execute
dotnet pack ./PrivmxEndpointCsharp
Remember to clear nuget cache when testing the package