Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuget package plans? #490

Open
andy1547 opened this issue Jan 4, 2024 · 1 comment
Open

Nuget package plans? #490

andy1547 opened this issue Jan 4, 2024 · 1 comment

Comments

@andy1547
Copy link
Contributor

andy1547 commented Jan 4, 2024

We consume this library in a .NET Framework project, to make it useable we've had to create our own container project that references this project as a git submodule.

This container project calls cmake (to generate/build native assemblies), dotnet build (on the .NET wrapper project which uses P/Invoke), nuget pack, then finally nuget publish to our internal Nuget gallery. The published package contains the .NET framework wrapper assembly, the native assemblies (for both x86 and x64), aswell as our own .targets/.props file to handle copying these native assemblies to the bin folder.

It would be far easier if this Nuget package was published to the public gallery (it may increase adoption of this library, lowering the barrier of entry). Is this something which could be considered?

We noticed there's two separate .csproj files for the .NET wrapper projects, IEC61850.NET.core.2.0.csproj (targeting .NET standard 2.0) and IEC61850.NET.csproj (targeting .NET framework v4). Could these be consolidated into a single .csproj (using SDK format) that multitargets?
For inspiration I recommend looking at this project https://github.com/confluentinc/confluent-kafka-dotnet/blob/master/src/Confluent.Kafka/Confluent.Kafka.csproj

@Zeebrommer
Copy link

This would indeed be useful. @andy1547 what keeps you from forking this project and publishing your version to Nuget?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants