dotnet / dotnet/msbuild

MSB4011 is not suppressable by MSBuildWarningsAsMessages

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

Description

Originally reported at https://developercommunity.visualstudio.com/content/problem/400893/using-msbuildwarningsasmessages-in-directorybuildp.html.

> I have added Directory.Build.props to the same folder as my solution with content:
>
> ```xml
>
>
> MSB4011
>
>
> ```
>
> The problem is that I still get the MSB4011 warnings when I compile.
>
> I know that file is found because if I change the `` tag to ``, I get an error when compiling.
>
> Why isn't it working?
>
> I am using visual studio professional 2017, 15.9.3. The projects are C++.

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.