add a bindings project for C# nuget #280
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a structure for publishing NuGet packages for the C# bindings.
Supported platforms:
The NuGet package contains compiles binaries for these platforms in the
runtimes
folder.These binaries are created in a new github workflow. They are gitignored, because there's no need to check in these binaries. The workflow creates a NuGet package and archives that as a build artifact.
Currently publishing the package to NuGet should be done manually to make sure we don't publish invalid packages. A next step could be to create some compilation / integration tests for each platform.
Windows x86 and arm are not included yet. We can probably trivially add those by compiling the SDK on a Windows box for the
aarch64-pc-windows-msvc
andi686-pc-windows-msvc
.Also ios and android are not included yet.
For the next steps, here's a reference to Microsoft's RID catalog, where you can find the runtime identifiers.