2011-06-10 2 views
2

내가 팀 도시 내 WCF 라이브러리 프로젝트를 빌드 할 때, 나는 다음과 같은 경고 얻을 :인 TeamCity 빌드 WCF 서비스 구축에 대한 경고 CS0472을 보여줍니다,하지만 비주얼 스튜디오

"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에서 프로젝트를 빌드 할 때이 경고가 표시되지 않습니다.

답변

0

TeamCity 코드 위치에서 ColorService.cs 복사본을 가져 와서 비교 도구 (Diff 도구 사용)를 Visual Studio의 로컬 복사본과 비교합니다.

TeamCity가 약간 섞여서 파일의 이전 복사본을 보유하고있는 것처럼 들리지만 동일하게 만드십시오.