How to disable warnings in only one project?

后端 未结 4 370
日久生厌
日久生厌 2021-01-03 19:27

I have a legacy project in my solution without comments and many warnings. I want to not see warnings about this specific project but I want to see warnings of the other pro

4条回答
  •  悲哀的现实
    2021-01-03 19:30

    1. In Visual Studio open the project's Properties tab
    2. Go to the "Build" tab
    3. Set the "Warning Level" to 0

    For details on the different warning levels see:

    C# Compiler Options > /warn (Specify Warning Level)

提交回复
热议问题