My team city build is failing with error
” [Csc] CSC error CS2001: Source file
‘Services\Entities\ModelNames.cs’ could not be found
Thing is this .cs file is deleted from source contrl (TFS) and local machines when checked in. There is no piece of code using this class anywhere in the project. But I still keep getting this error. What can I try?
Make sure your TeamCity checkout or script checkout is correct. It seems like your building using old project file. Maybe the sub directories are checked out and not the root directory as well ?