Skip to content

Assembly with same name is already loaded. #1528

@halcwb

Description

@halcwb

I often run into this problem when using FSharp.Data:

The type provider '' reported an error: The type provider '/Users/halcwb/.nuget/packages/fsharp.data/6.4.0/lib/netstandard2.0/FSharp.Data.dll' reported an error: Assembly attribute 'TypeProviderAssemblyAttribute' refers to a designer assembly 'FSharp.Data.DesignTime' which cannot be loaded from path '/Users/halcwb/.nuget/packages/fsharp.data/6.4.0/typeproviders/fsharp41/netstandard2.0/FSharp.Data.DesignTime.dll'. The exception reported was: System.IO.FileLoadException - Could not load file or assembly 'FSharp.Data.DesignTime, Version=6.4.0.0, Culture=neutral, PublicKeyToken=49286adf818aa259'. Assembly with same name is already loaded.

I have no idea how to prevent this, as it is very inconsistent. Sometimes the error pops up, sometimes it doesn't. Happens both with Rider and VSCode.

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