Skip to content

add reference should preserve filesystem casing #10198

Open
@zivkan

Description

@zivkan

Steps to reproduce

dotnet new classlib -n MyLib
dotnet new console -n MyApp
dotnet add myapp\myapp.csproj reference mylib\mylib.csproj

Expected behavior

Reference `..\MyLib\MyLib.csproj` added to the project.

(same as filesystem case)

Actual behavior

Reference `..\mylib\mylib.csproj` added to the project.

(same as command line argument case)

Environment data

dotnet --info output:

.NET Core SDK (reflecting any global.json):
 Version:   2.2.202
 Commit:    8a7ff6789d

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.17763
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.2.202\

Host (useful for support):
  Version: 3.0.0-preview3-27428-5
  Commit:  b6802f2e79

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions