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?
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.