dotnet / dotnet/project-system

Warnings are not treated as Errors

Open
#7,396 2 comments 1 reaction 0 assignees View on GitHub
Triage-Investigate
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

Please see this post for the issue. https://github.com/dotnet/msbuild/issues/6473#issuecomment-873231370

TL;DR Visual Studio should have an error displayed in the "Error List" instead of a warning.

---

It still shows as a warning here (I would think it would show an error)

![image](https://user-images.githubusercontent.com/31907187/124323271-42329a80-db3e-11eb-8c70-e96af4bc7a97.png)

but now it fails the build (intended behavior) (thanks for fixing this!)

![image](https://user-images.githubusercontent.com/31907187/124323312-57a7c480-db3e-11eb-83ff-124f4bd4d293.png)

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.