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 7499711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:55:01+00:00 2026-05-29T19:55:01+00:00

I have a c# project with a reference that cannot be found when checking

  • 0

I have a c# project with a reference that cannot be found when checking in to TFS. The project runs fine when i debug.
It its in my services project the problem is located. I have a reference to lets say ProjectSec. And i have a wewbservice reference to Projectservice.
The webservice uses the ProjectSecurity.Security namespace that is located in the ProcectSec assembly.

When i check in my files i get the following error:

  • The type or namespace name ‘ProjectSecurity’ could not be found (are you missing a using directive or an assembly reference?)
  • Could not resolve this reference. Could not locate the assembly “ProjectSec”. Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

The ProjectSec.dll is located in the lib folder and its there. There is no error when i try to use it elsewhere in my project.

This may not be a perfect explanation but does anyone know what i could try?

I have removed the reference and added it over again, but no luck.

  • 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-05-29T19:55:03+00:00Added an answer on May 29, 2026 at 7:55 pm

    A common pitfall with TFS-build is to have in Source Control something, for example, like this:

    $/Sources/Webservice
    $/Libs/ProjectSecurity
    

    And then, in the build definition that is validating your checkin, to have only

    Active | $/Sources/Webservice | $(SourceDir)
    

    as workspace mappings.
    (You can access this by right-clicking on the build definition in TeamExplorer, select “Edit Build Definition..” & go to Tab “Workspace”)

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

Sidebar

Related Questions

I have a .net project that has a web reference to a service. I
I have a C# Visual Studio project (.csproj) that has a reference to the
I have a .NET project which references another assembly that is built outside of
I have a class library project that references the version 4.1 Microsoft.Practices.Common dll. I
I have an ASP.NET VB.NET web project that references a VB.NET class library. I
At the company I work for we have a Utility project that is referenced
I have a VS2005 project that contains a couple web service references. The project
I have a Browser Helper Object project in c# that (obviously) references shdocvw.dll. I
I have a solution that is being referenced by a MSBuild project. In the
We have inherited a vb.net 2003 web project, it seems to reference another web

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.