当我建我的WCF库项目与团队市,我得到以下警告:的TeamCity构建了警告CS0472为WCF服务构建,而不是Visual Studio的
"C:\TeamCity\buildAgent\temp\buildTmp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" [10:48:33]: [Csc] Services\External\ColorService.cs(762, 74): warning CS0472: The result of the expression is always 'false' since a value of type 'decimal' is never equal to 'null' of type 'decimal?'
我不知道如何解决这是因为我甚至没有看到ColorService.cs中的第762行。
当我在Visual Studio中构建项目时,看不到此警告。