Skip to content

WS10 - version upgrade leads to "Binary format version mismatch" #1593

Description

@mawifr

I have a project that references several internal NuGet packages. Some of these packages include frontend-related code and are distributed as WebSharper libraries, with the following configuration:

{
  "$schema": "https://websharper.com/wsconfig.schema.json",
  "project": "library",
  "javascript": true,
  "useJavaScriptSymbol": true
}

When I upgrade the WebSharper version in the main project, I receive the following error for each referenced library:

8>WebSharper error WS9001: Error Failed to deserialize metadata for <packagename>, Version=6.4.4.0, Culture=neutral, PublicKeyToken=null.: Binary format version mismatch, found '10.0', expecting '10.1-rev1'

Is there a way to suppress or ignore this error?

At the moment, the only workaround I have found is to first update every referenced library to the latest WebSharper version, and only then update the main project. This makes the package update process quite difficult to manage.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions