dotnet / dotnet/project-system

[Bug]: NuGet package update reformats multi-line "Exec Command" string in project files

Open
#8,076 3 comments 1 reaction 1 assignee Claimed by @tmeschter View on GitHub
Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

@timmkrause commented on [Mon, 04 Apr 2022 10:33:33 GMT](https://github.com/NuGet/Home/issues/11713)
### NuGet Product Used

Visual Studio Package Management UI

### Product Version

Visual Studio 2022 (17.1.3)

### Worked before?

_No response_

### Impact

It's more difficult to complete my work

### Repro Steps & Context

- Have some kind of multi-line exec command in the project file, e.g.:

```



```

- Update a NuGet package via the VS package management UI.
- Observe, that the exec command string gets reformatted into a single-line representation:

```

```

### Verbose Logs

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.