Search Unity

Can't use Immediate window in rider for Newtonsoft get System.Security.VerificationException

Discussion in 'Code Editors & IDEs' started by FDMpro, Nov 15, 2021.

  1. FDMpro

    FDMpro

    Joined:
    Aug 19, 2014
    Posts:
    14
    I just get this issue recently, when I try to debug the code in rider I can use evaluate for every thing but when I try for example
    token.Value<int>()
    in Immidiate window some times it return properly but most of the times it throw
    Exception of type 'System.Security.VerificationException' was thrown: Method with token 100665429 not found in type Newtonsoft.Json.Linq.Extensions
    .
    I can get the token value and it's ok also in project it will works fine but I can't use Evaluate Expression nor Immediate Window in rider.
    this happens only for Linq name space but As I say some times its work properly.

    remove library folder but it was work once.
    remove all *.csproj and .sln files not worked.