GeoJSON-Net / GeoJSON.Net

.Net library for GeoJSON types & corresponding Json.Net (de)serializers
MIT License
447 stars 167 forks source link

Could not load file or assembly 'GeoJSON.Net' #141

Open REDECODE opened 4 years ago

REDECODE commented 4 years ago

Hello, I installed the latest GeoJSON.Net.Contrib.EntityFramework (v0.1.4) via NuGet and all of his dependendency: GeoJSON.Net.Contrib.Wkb (v0.1.3) and GeoJSON.Net (v1.1.73) and it compiles without errors but when the website start it appear the error:

Could not load file or assembly 'GeoJSON.Net' located assembly's manifest definition does not match.

I try to upgrade to GeoJSON.Net.Contrib.Wkb v0.14 and GeoJSON.Net v1.2.14 but nothing works.

Any solution?

REDECODE commented 4 years ago

[TEMPORARY SOLUTION]

Ok I solved installing the old version GeoJSON.Net.Contrib.EntityFramework (v0.1.3) with its dependencies GeoJSON.Net.Contrib.Wkb (v0.1.3) and GeoJSON.Net (v1.1.73).

But the newer version doesn't work. Im using ASP net web api 2

xfischer commented 4 years ago

Hi @REDECODE. Thanks for reporting this. I have unified all the contribs and published them on Nuget. Expect them to be available in the next minutes.

matt-lethargic commented 4 years ago

I've changed the build process for GeoJSON.Net, is this a factor in this error?

On Fri, 20 Dec 2019, 20:53 Xavier Fischer, notifications@github.com wrote:

Hi @REDECODE https://github.com/REDECODE. Thanks for reporting this. I have unified all the contribs and published them on Nuget. Expect them to be available in the next minutes.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GeoJSON-Net/GeoJSON.Net/issues/141?email_source=notifications&email_token=AACFVWQKJCOHXLOLDHTHYRLQZUWDTA5CNFSM4J56J2WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHOEGFY#issuecomment-568083223, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACFVWWLOLCMMRNICKSXGULQZUWDTANCNFSM4J56J2WA .

xfischer commented 4 years ago

Hi Matt, I don't know, but maybe there were version conflicts. I've noticed that EF had a project reference, and not a nuget. Seems not related but was sufficient to update all the contribs. Please @REDECODE let us know if it's ok now.

xfischer commented 4 years ago

Hi @matt-lethargic. Last commit for PR 147 is failing in Azure and I don't have access. Can you spot the problem ?

matt-lethargic commented 4 years ago

@xfischer I'll have a look now

matt-lethargic commented 4 years ago

RC published and I've set triggers so any push to master will at least produce an RC build

xfischer commented 4 years ago

Thanks @matt-lethargic, for this current NuGet, I'd like to publish it to nuget as a final version. Is that possible right now ?