dotnet restore -nowarn:msb3202,nu1503,cs1591

dotnet build -nowarn:msb3202,nu1503,cs1591 --no-restore -c Release -o /app

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

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
版权声明:本文为博主原创文章,转载请附上博文链接!

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄