dotnet / dotnet/msbuild

Providing -pp will suppress errors and fail silently

Open
#7,923 0 comments 0 reactions 0 assignees View on GitHub
Area: Engine bug triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

To reproduce, do the following:
1. Create a new console project with `dotnet new console`.
2. Open the `foo.csproj` or project file created by new console. Edit it to be like this:

```

Blah

Exe
net7.0
enable
enable

```

run `dotnet msbuild --pp` and observe that no error is produced and msbuild is silent, but without `--pp` it will raise an error.

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.