切换System.ComponentModel.Annotations版本到4.4.1 重新编译即可 转载于:https://www.cnblogs.com/shiruina/p/9360546.html