Skip to content

Can't load and build Microsoft.Extensions.Logging solution in Visual Studio: projects path incorrect #53434

Description

@Sundow

When opening Microsoft.Extensions.Logging solution in Visual Studio by running

build.cmd -vs Microsoft.Extensions.Logging

you can see a number of error messages stating that some projects can't be found.
After VS starts it shows a warning saying that some projects can't be loaded. The projects not loaded are:

Microsoft.Extensions.Logging.Generators
Microsoft.Extensions.Logging.Generators.Tests

The reason for this are incorrect pathes to these projects specified in Microsoft.Extensions.Logging.sln file. They specify *.Logging folders as projects locations while actually they are *.Logging.Abstractions

Changing projects' pathes resolves the issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions