mysticmind / mysticmind-postgresembed

Postgres embedded server equivalent including extensions for .Net applications
MIT License
143 stars 26 forks source link

dotnet6 compatibility issue #20

Closed himenkumars closed 2 years ago

himenkumars commented 2 years ago

Hi, Upgraded my solution to .NET6 , It was NET Core 2.1 earlier. I see after upgrade, There some unit test are getting failed due to assertion, it looks like database operation are skipped. This is very old project, and I am not aware about much functionality.

Can you confirm , that this package is compatible with dotnet6 ?

mysticmind commented 2 years ago

It is not tested in dotnet6. By next week or so, will test on dotnet6 and do any fixes required.

mysticmind commented 2 years ago

Also can you elaborate what errors are you getting?

himenkumars commented 2 years ago

Thanks for quick reply.

There is no error/exception on build. Some Unit test get passed also. but some gets failed on assertion due to expected data mismatch, that suppose to get updated in embeded database. but it is not updated. I wont be able to give more detail.

himenkumars commented 2 years ago

Hi @mysticmind , Hope you have nice weekend. Did you get a chance to look into this for dotnet6 compatibility?

mysticmind commented 2 years ago

PR https://github.com/mysticmind/mysticmind-postgresembed/pull/21 - Await for 2.0.0 which specifically targets .NET 6. I will release it later today.

As such there are no issues with the .NET target but if you are seeing failures with initdb then it is a dependency issue for Postgres itself, you would need to install Visual C++ Redistributable Packages for Visual Studio 2013.

Also check the readme known issues section.

mysticmind commented 2 years ago

Resolved via GH-21

mysticmind commented 2 years ago

2.0.0 released which targets net6.0