4

Getting this error "System.MissingMethodException : Method not found: 'Swensen.Unquote.UnquotedExpression Swensen.Unquote.Operators.unquote(Microsoft.FSharp.Quotations.FSharpExpr)" in Visual Studio 2015. Tried it in Visual Studio 2013 and it works.

1
  • 1
    Almost certainly you are using incompatible versions of some of your references. Jan 15, 2016 at 1:17

1 Answer 1

11

You'll need to add an assembly redirect to an app.config file associated with your unit test project. Something like this ought to do it:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="FSharp.Core"
                          publicKeyToken="b03f5f7f11d50a3a"
                          culture="neutral"/>
        <bindingRedirect oldVersion="4.3.1.0"
                         newVersion="4.4.0.0"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.