SuaveMusicStore
SuaveMusicStore copied to clipboard
Could not load type 'Choice' from assembly 'Suave
In the section where we are ready to create a new album I am receiving this error
Could not load type 'Choice' from assembly 'Suave, Version=2.2.1.0, Culture=neutral, PublicKeyToken=null'.
System.TypeLoadException: Could not load type 'Choice' from assembly 'Suave, Version=2.2.1.0, Culture=neutral, PublicKeyToken=null'. at Suave.Form.bindForm[a](Form`1 form, HttpRequest req) at [email protected](HttpContext c) at Microsoft.FSharp.Core.FSharpFunc`2.InvokeFast[V](FSharpFunc`2 func, T arg1, TResult arg2) at [email protected](a a)
It looks like something is happening during the form binding but I cannot seem to find a fix for it.
What version of Suave are you using? Pinning to an older version might help
It was suave 2.2.1. I upgraded to 2.4.0 and the problem stopped. I'm on ubuntu linux 16.04 and I couldn't get the first part of the tutorial to work for me so I was doing if from a plain dotnet console application without the dependencies pinned. Just wanted to add that bit of info in case someone else has the same problem.