Issue #1 new

Nuget Package not working with VS2012

Anonymous created an issue

FSharp.Core.dll was changed for VS2012 (is now under runtimeversion 3.0) so every F#-nuget package will throw "Method not found" exceptions when the package was compiled with VS2010 using the 2.0 version of FSharp.Core. Maybe you can update your package or create a new one for VS2012.

Thank you.

Comments (4)

  1. Ryan Riley repo owner

    The immediate solution should be to add an assembly binding redirect, such as:

    <configuration>
      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" />
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    </configuration>
    

    I'm working on adding additional builds, but that should get you through your current block.

  2. Log in to comment