dotnet restore -nowarn:msb3202,nu1503,cs1591app
dotnet build -nowarn:msb3202,nu1503,cs1591 --no-restore -c Release -o /appui
dotnet publish -nowarn:msb3202,nu1503,cs1591 --no-restore -c Release -o /app.net
如上述代碼,在restore build publish 後面直接加上 -nowarn:msb3202,nu1503,cs1591rest
這些類型的警告就不在顯示了
---------------------
做者:mengchentj
來源:CSDN
原文:https://blog.csdn.net/ujm097/article/details/81353893
版權聲明:本文爲博主原創文章,轉載請附上博文連接!blog