Skip to content

Microsoft.CSharp.sln fails in msbuild, because of duplicate project name #16747

@svick

Description

@svick

Microsoft.CSharp.sln fails to build with msbuild (v14.0.24720.0) with following error:

Solution file error MSB5004: The solution file has two projects named "Microsoft_CSharp".

On the other hand, Visual Studio builds the solution successfully.

Looking at the solution file, the error seems to be that both Microsoft.CSharp.csproj and Microsoft.CSharp.Tests.csproj are named "Microsoft.CSharp" in the solution file.

I will submit a pull request to fix the name shortly, but I also have a question: How come automated testing didn't reveal this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions