nhibernate / NHibernate.Spatial

NHibernate.Spatial is a library of spatial extensions for NHibernate, and allows you to connect NHibernate to a spatially enabled database and manipulate geometries in Linq or HQL using NetTopologySuite, providing you with a fully integrated GIS programming experience.
GNU Lesser General Public License v2.1
44 stars 54 forks source link

Version conflict detected for Npgsql - Upgrade Npgsql dependencies to leatest version #125

Closed khaledRamah closed 2 years ago

khaledRamah commented 3 years ago

I tried to use https://www.nuget.org/packages/Npgsql/ with version 5.0.7 and https://www.nuget.org/packages/NHibernate.Extensions.NpgSql/ but the version inside the PostGis is old back too 3.2.7 from 2018

Untitled

asmaa56a commented 3 years ago

i faced the same problem, do you get any updates?

andrerav commented 3 years ago

Hi @khaledRamah and @asmaa56a. If I remember correctly, there were problems with serializing/deserializing geometries when using Npgsql versions newer than 3.2.7. I think this was related to the dependency on NetTopologySuite 1.x back then. There is a fair chance that this has been resolved now that our dependency on NetTopologySuite has been upgraded to >= 2.0.0. I will try to find time to test this tomorrow :)

khaledRamah commented 3 years ago

@andrerav Did you have some to check and fix it ? please update us. Thanks

eithe commented 2 years ago

Sorry to bump, but is there any news? Would really like to upgrade npgsql to at least 5.x.