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

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

Open
eddycheong opened this issue Oct 5, 2022 · 1 comment
Open

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

eddycheong opened this issue Oct 5, 2022 · 1 comment

Comments

@eddycheong
Copy link

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
Copy link

tfadler commented Jan 4, 2023

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.

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