dotnet restore -nowarn:msb3202,nu1503,cs1591
dotnet build -nowarn:msb3202,nu1503,cs1591 --no-restore -c Release -o /app
dotnet publish -nowarn:msb3202,nu1503,cs1591 --no-restore -c Release -o /app
如上述代码,在restore build publish 后面直接加上 -nowarn:msb3202,nu1503,cs1591
这些类型的警告就不在显示了
---------------------
作者:mengchentj
来源:CSDN
原文:https://blog.csdn.net/ujm097/article/details/81353893
版权声明:本文为博主原创文章,转载请附上博文链接!