dotnet / pinvoke

A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.
MIT License
2.12k stars 222 forks source link

Wrong package versions required? #318

Closed thomas-goerlich closed 7 years ago

thomas-goerlich commented 7 years ago

The current nuget packages (v0.5.60) have dependencies to other PInvoke packages requiring version >= 1.0.0 but 0.5.60 is the latest version.

e.g. PInvoke.NCrypt (current version 0.5.60) requires PInvoke.BCrypt, PInvoke.Kernel32 and PInvoke.Windows.Core >= 1.0.0 but only 0.5.60 exists.

Bluebeerd commented 7 years ago

I've just spent 2 hours trying to get the update for 0.5.60 installed, so I'm having the same problem. I can install the update if I disable the dependency checking. 0.4.10 installs fine.

AArnott commented 7 years ago

Oops. You're absolutely right. This is an occurrence of NuGet/Home#4790. And I have a workaround which I will apply right away.