fsprojects / Paket.VisualStudio

Manage your Paket (http://fsprojects.github.io/Paket/) dependencies from Visual Studio!
MIT License
147 stars 51 forks source link

MissingMethodException when running command (Install/Update/Outdated) #141

Closed SuperRoflCopter closed 7 years ago

SuperRoflCopter commented 7 years ago

Hi, Since the new release of paket 5, we had an issue running the latest branch of Paket.VisualStudio

image

Instead of updating the paket.lock it crash with a MissingMethodException when returning FSharpList

I tried restoring with the actual paket.lock and updating with the latest paket.core nuget. Both resulting with the same error.

Have you got a work around for this issue?

Thanks, Thomas

forki commented 7 years ago

please retry with latest

SuperRoflCopter commented 7 years ago

Thanks ! It works indeed. Weird thing is I tried on my side with redirect force on FSharp.Core and it did not seem to work better. Probably forgot something.

SuperRoflCopter commented 7 years ago

I had the same issue while referencing paket.core from a vsix solution, Even the redirect on FSharp.Core was not fixing the problem. Chessie was build with FSharp.Core 4.0.0.0 and was causing the issue. Finally I had to rebuild Chessie in .Net 4.5 instead of .Net 4.0, then update FSharp.Core with redirect to solve the issue.