Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8391187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:11:37+00:00 2026-06-09T19:11:37+00:00

My team city build is failing with error [Csc] CSC error CS2001: Source file

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T19:11:38+00:00Added an answer on June 9, 2026 at 7:11 pm

    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 ?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Team City as the build server, and I have a msbuild
We've been using Team City as our build deployment server. We'd like to now
We have a Team City Build Server running and want to compile a Visual
I am using the MSBuild runner in Team city to build and deploy my
I have a Windows Service that runs a Team City Build agent on a
I'm trying to get Team City to build my .NET solution and run my
In Team City, we are currently using a command line build runner. While it
This is my first attempt at setting up a Build Configuration in Team City.
I am using NUnit (2.4.6) and my build/test night are done with Team City
We have a Team City Unit test build which we call using $(teamcity_dotnet_nunitlauncher) through

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.