Skip to content

Could not load file or assembly System.Collections.Immutable, Version=5.0.0.0 #4

Description

@peZhmanParsaee

After installing M# build tools and its prerequisites, and opening its solution file with VS 2019; the projects are not loaded into the Solution Explorer, like this:

image

And the following error is logged into the Output window:

error  : Could not load file or assembly 'System.Collections.Immutable, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

I installed Windows 10 version 20H2 as latest version in market, and also Visual Studio Enterprise 2019 Version 16.6.3. All checks under the Workloads tab and also under the Individuals Component tab -> .Net part of Visual Studio Installer has been checked.

But the odd thing is before installing msharp-build tool and its dependencies, I created 3 different solutions with Visual Studio and all of them had worked, and now all of them have the same error as above.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions