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

Depended ManagedEsent package is deprecated #504

Open
vchekalin opened this issue Jun 5, 2023 · 3 comments
Open

Depended ManagedEsent package is deprecated #504

vchekalin opened this issue Jun 5, 2023 · 3 comments

Comments

@vchekalin
Copy link

Xbim.IO.Esent has a dependency on ManagedEsent(>= 1.9.4) which is currently deprecated. Microsoft provide the alternative package Microsoft.Database.ManagedEsent.
Our company policy doesn't allow to use deprecated packages, but there is no way to delete the package ManagedEsent as it depends on Xbim.IO.Esent.

Assemblies and versions affected:

Xbim.IO.Esent 5.1.341

Steps (or code) to reproduce the issue:

  1. Add Xbim.IO.Esent package to a project
  2. Try to delete ManagedEsent

Expected behavior:

The dependency to the new alternative package must be set.

@martin1cerny
Copy link
Member

Hi Victor,

thank you for spotting this issue. It is certainly not a good practise to reference deprecated packages. Can you try to clone Xbim.Essentials code and replace ManagedEssent by Microsoft.Database.ManagedEsent? Contributions through pull requests are most welcome.

@andyward
Copy link
Member

andyward commented Jun 6, 2023

I think this is just in master (and latest Nuget). If you check out the develop builds (which targets netstandard2 up) we've removed support for ManagedEssent in place of the newer dependency. I think we had to drop pre net472 support as a result.

You can get the develop Essentials and related packages from Myget https://www.myget.org/feed/xbim-develop/package/nuget/Xbim.IO.Esent

The plan is to merge develop to master in the month or so.

@vchekalin
Copy link
Author

Hi,

Thank you for your prompt response.
Actually the Microsoft.Database.ManagedEsent package is already referenced to the Xbim.IO.Esent project, but only for the netstandard2.0, while ManagedEssent is referenced in case if net47 is used as a target framework.

I checked the developed branch, the deprecated ManagedEssent is deleted. Will wait for the new release.

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

3 participants