dotnet / dotnet/msbuild

On Linux, a folder with a backslash results in MSB3552 for resource files

Open
#3,864 3 comments 5 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

### Steps to reproduce
```
$ dotnet new console
$ mkdir dir\\name
$ dotnet build
```
Note that the second command creates a folder that contains a literal backslash in its name. By accident, I had created a folder named `C:\Users\Jane\Desktop` on my Linux box.

### Expected behavior
The build should work

### Actual behavior
The build fails with
```
/usr/share/dotnet/sdk/2.1.403/Microsoft.Common.CurrentVersion.targets(3049,5): error MSB3552: Resource file "**/*.resx" cannot be found. […/dotnettest.csproj]
```

### Environment data
dotnet 2.1.403

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.