How to hide .NET Core compatibility warnings when referencing .NET 4.6 NuGet package in VS 2017.3

巧了我就是萌 提交于 2019-12-04 09:24:50
Sergio Leon

I found an answer to my question in a Google Images search, which led me to this seemingly unrelated SO post:

Suppressing issues from Roslyn code Analyzers

In short, the Properties page of the NuGet package reference has a NoWarn attribute where the error code can be specified, as shown in the following image:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!