ela-compil / BACnet

BACnet protocol library for .NET :satellite:
https://www.nuget.org/packages/bacnet/
MIT License
217 stars 96 forks source link

Trouble Publishing Due to Out-Of-Date Dependencies #112

Open eddycheong opened 2 years ago

eddycheong commented 2 years ago

Hello,

I am trying to create a console application using the BACnet library, but I am encountering a dependency issues (NU1605) whenever I try to perform a dotnet publish. This happens on both BACnet 2.0.4 or on 3.0.1-beta4.

The tool is meant for a linux-x64 environment on .NET 6.0. This is how I am building it: dotnet publish --runtime linux-x64 --self-contained true

This appears to be caused by this out-of-date dependency (PacketDotNet 0.19.3), which in itself is also using an out-of-date log4net library.

Here is an example of one errors that I am seeing: error NU1605: BacnetConsoleTool -> BACnet 2.0.4 -> PacketDotNet 0.19.3 -> log4net 2.0.8 -> System.Console 4.0.0 -> runtime.unix.System.Console 4.3.0 -> System.Runtime.Extensions (>= 4.3.0)

If I were to install the latest PacketDotNet (1.4.6) to my project, it will resolve the dependency issue in the meantime. However, this means BACnet 2.0.4 or the 3.0.1-beta4 does not work right out of the box.

Are there any plans to resolve this or update BACnet to use the latest dependencies?

Thanks.

tfadler commented 1 year ago

Hi. Is there a reason that PacketDotNet needs to be such a old version? 0.19.3 came out 4 years ago.

Sorry if I am missing something. Thank you for any feedback.