dnp3 / opendnp3

DNP3 (IEEE-1815) protocol stack. Modern C++ with bindings for .NET and Java.
https://dnp3.github.io
Apache License 2.0
300 stars 231 forks source link

How to install dotnet library #409

Closed Saleem344 closed 3 years ago

Saleem344 commented 3 years ago

Can any one how to install dotnet library?

Thanks for the help.

jadamcrain commented 3 years ago

https://dnp3.github.io/docs/guide/3.0.0/build/windows/#net-bindings

https://www.nuget.org/packages/opendnp3/

Saleem344 commented 3 years ago

Hi, I want to use this binding in ubuntu, I have used CLI from this link https://www.nuget.org/packages/opendnp3/ I'm getting error like 1.The type or namespace name 'Adapter' does not exist in the namespace 'Automatak.DNP3.

  1. The type or namespace name 'Interface' does not exist in the namespace 'Automatak.DNP3.

Regards, Saleem.

On Thu, 24 Dec 2020 at 00:56, Adam Crain notifications@github.com wrote:

https://dnp3.github.io/docs/guide/3.0.0/build/windows/#net-bindings

https://www.nuget.org/packages/opendnp3/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dnp3/opendnp3/issues/409#issuecomment-750440130, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOU5BGGFUXFV5LOULHZB6ELSWI75HANCNFSM4VGZRBJA .

jadamcrain commented 3 years ago

The .net bindings will only work on Windows.

On Wed, Dec 23, 2020, 9:41 PM Saleem Shaik notifications@github.com wrote:

Hi, I want to use this binding in ubuntu, I have used CLI from this link https://www.nuget.org/packages/opendnp3/ I'm getting error like 1.The type or namespace name 'Adapter' does not exist in the namespace 'Automatak.DNP3.

  1. The type or namespace name 'Interface' does not exist in the namespace 'Automatak.DNP3.

Regards, Saleem.

On Thu, 24 Dec 2020 at 00:56, Adam Crain notifications@github.com wrote:

https://dnp3.github.io/docs/guide/3.0.0/build/windows/#net-bindings

https://www.nuget.org/packages/opendnp3/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dnp3/opendnp3/issues/409#issuecomment-750440130, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOU5BGGFUXFV5LOULHZB6ELSWI75HANCNFSM4VGZRBJA

.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/dnp3/opendnp3/issues/409#issuecomment-750752644, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACKVFIG7MOZUV5M7P2KVV3SWLIBJANCNFSM4VGZRBJA .

Saleem344 commented 3 years ago

Hi, I want to use DNP3 in the Linux platform using .Net Core, Can you suggest something to make it work? Thank you for your help. Regards, Saleem.

On Thu, 24 Dec 2020 at 11:48, Adam Crain notifications@github.com wrote:

The .net bindings will only work on Windows.

On Wed, Dec 23, 2020, 9:41 PM Saleem Shaik notifications@github.com wrote:

Hi, I want to use this binding in ubuntu, I have used CLI from this link https://www.nuget.org/packages/opendnp3/ I'm getting error like 1.The type or namespace name 'Adapter' does not exist in the namespace 'Automatak.DNP3.

  1. The type or namespace name 'Interface' does not exist in the namespace 'Automatak.DNP3.

Regards, Saleem.

On Thu, 24 Dec 2020 at 00:56, Adam Crain notifications@github.com wrote:

https://dnp3.github.io/docs/guide/3.0.0/build/windows/#net-bindings

https://www.nuget.org/packages/opendnp3/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dnp3/opendnp3/issues/409#issuecomment-750440130, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AOU5BGGFUXFV5LOULHZB6ELSWI75HANCNFSM4VGZRBJA

.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/dnp3/opendnp3/issues/409#issuecomment-750752644, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AACKVFIG7MOZUV5M7P2KVV3SWLIBJANCNFSM4VGZRBJA

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dnp3/opendnp3/issues/409#issuecomment-750763971, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOU5BGFXLYE46M3BQWLJMW3SWLMMJANCNFSM4VGZRBJA .

jadamcrain commented 3 years ago

There is no way to make this library work on .NET Core for Linux. The bindings use C++/CLI to achieve interop with .NET/C++, and can only be built to target windows.

Saleem344 commented 3 years ago

Ok, thanks.

On Thu, 24 Dec 2020 at 12:39, Adam Crain notifications@github.com wrote:

There is no way to make this library work on .NET Core for Linux. They bindings use C++/CLI, and can only be built to target windows.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dnp3/opendnp3/issues/409#issuecomment-750781078, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOU5BGH23US4E465ZP7M5HDSWLSI7ANCNFSM4VGZRBJA .