Home:ALL Converter>Visual Studio 2019 Publish is Treating Warnings As Errors

Visual Studio 2019 Publish is Treating Warnings As Errors

Ask Time:2020-11-19T02:29:13         Author:Rich

Json Formatter

In the Build properties of my project I have 'Treat warnings as errors' to None:

enter image description here

This works fine when building but when I try to publish to a local folder I'm getting 14 errors that should be warnings. Does anyone know how to disable treating warnings as errors when publishing in Visual Studio 2019?

Author:Rich,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/64899138/visual-studio-2019-publish-is-treating-warnings-as-errors
yy