C# Compiler Warning 1685

后端 未结 6 2153
甜味超标
甜味超标 2020-12-09 14:31

So, (seemingly) out of the blue, my project starts getting compiler warning 1685:

The predefined type \'System.Runtime.CompilerServices.ExtensionAtt

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-09 15:04

    FYI: I had the same problem and was able to resolve it by using Resharper's "Optimize References" command, and then removing all unused references. Not completely sure why that worked, but it did.

提交回复
热议问题