Skip to content
This repository was archived by the owner on Dec 18, 2017. It is now read-only.
This repository was archived by the owner on Dec 18, 2017. It is now read-only.

Add ability to ignore particular build warnings #2693

@Daniel15

Description

@Daniel15

Moved from dotnet/aspnetcore#900


In csproj files, you can ignore particular build warnings with the <NoWarn> element (labelled as "Suppress warnings" in Visual Studio). For example, to ignore CS7035, you can either add <NoWarn>7035</NoWarn> to the csproj or pass it to MSBuild via /p:NoWarn=7035. This does not appear to be possible with project.json

cc @Eilon @dougbu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions