當我建我的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中構建項目時,看不到此警告。