-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting missingMethodException in remoting setup after updating packages #263
Comments
Ah, I see the problem. I recently released a new version of I'll look into fixing this by adding a separate nullary constructor for |
Thankyou |
But I still get the same error with FSharp.SystemTextJson 0.19.13. Also if I do your suggested workarround of locking to less then 0.18 (paket finds 0.17.4) I get the error also after I upgraded. I downgraded System.Text.Json from 6.05 to 6.04 and that worked. |
System.MissingMethodException: Method not found: 'Void System.Text.Json.Serialization.JsonFSharpConverter..ctor(System.Text.Json.Serialization.JsonUnionEncoding, System.String, System.String, System.Text.Json.JsonNamingPolicy, Boolean, Boolean, Boolean, System.Collections.Generic.IDictionary |
Actually downgrading just the FSharp.SystemTextJson < 0.18 did work. I just had to delete all the bin and obj folders in the project before doing a paket install again. |
Yes we also need to update Bolero itself to use the new constructor to complete this. |
This is fixed in v0.20.18. |
My client side was working fine until I I updated the packages. now getting a missing method exception - Method not found: 'Void System.Text.Json.Serialization.JsonFSharpConverter..ctor ..
The output of paket with the update:
The exception occurs in my startup configure method which likes like below:
The exception occurs on the app.UseAuthentication etc line (from the stack trace I suspect the .UserRemoting is the culprint)
The full exception message is:
Method not found: 'Void System.Text.Json.Serialization.JsonFSharpConverter..ctor(System.Text.Json.Serialization.JsonUnionEncoding, System.String, System.String, System.Text.Json.JsonNamingPolicy, Boolean, Boolean, Boolean, System.Collections.Generic.IDictionary`2<System.Type,System.Text.Json.Serialization.JsonFSharpOptions>)'.
The exception stack trace is:
I tried downgrading bolero FSharp.SystemTextJson by adding
nuget FSharp.SystemTextJson < 0.18.24
to the paket.dependencies file and that didn't work either. So I reverted all my packages to the previous versions (rolled back my paket.dependencies file and my packet.lock file) and it worked again. My dependencies file is:
my paket.lock file is:
Maybe the issue has to do with a change with FSharp.Core 6.0.5?
The text was updated successfully, but these errors were encountered: