What's the right way to suppress EF warnings?
问题 I would like to suppress these warnings but I could not figure out how to do it. 回答1: Those are not warnings you are seeing, those are Errors. The output tells you very clearly when a diagnostic message is a warning or an error. You've given the compiler an error number (6002) and told it to suppress the warning with that number, but such a warning does not exist. So, you've only succeeded in creating an additional error In this case, the message you're trying to suppress is a fatal compiler