dotnet / dotnet/msbuild

Including multiple semicolon-separated strings removes slash on Linux

Open
#3,416 1 comment 0 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

Project file a.proj:
```xml



<_Value0>/tmp/RoslynTests/5b60c3b6-f6b5-431b-a782-fc3f8a5eea90/
<_Value1>https://raw.githubusercontent.com








```

Command line
```
> dotnet msbuild a.proj
```

### Expected behavior

Content of Result1.txt and Result2.txt is the same:

```
/tmp/RoslynTests/5b60c3b6-f6b5-431b-a782-fc3f8a5eea90/
https://raw.githubusercontent.com
```

### Actual behavior
Result1.txt:
```
/tmp/RoslynTests/5b60c3b6-f6b5-431b-a782-fc3f8a5eea90/
https:/raw.githubusercontent.com
```
Result2.txt:
```
/tmp/RoslynTests/5b60c3b6-f6b5-431b-a782-fc3f8a5eea90/
https://raw.githubusercontent.com
```

### Environment data
`msbuild /version` output:

```
Microsoft (R) Build Engine version 15.7.177.53362 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
```

OS info:
- Fails on Ubuntu.
- Works on Windows

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.