dotnet 在build restore publish 的时候不显示警告

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

posted on 2019-04-19 05:51  隨風.NET  阅读(531)  评论(0编辑  收藏  举报

导航