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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:36:05+00:00 2026-06-16T05:36:05+00:00

On TFS build machine, for one of my unit tests I get this error

  • 0

On TFS build machine, for one of my unit tests I get this error message.

System.ArgumentException: The type ‘Microsoft.Practices.EnterpriseLibrary.Security.Cache.CachingStore.CachingStoreProvider, Microsoft.Practices.EnterpriseLibrary.Security.Cache.CachingStore, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ cannot be resolved. Please verify the spelling is correct or that the full type name is provided.

I have made sure that this test passes locally on my dev machine. On TFS, drop folder, I ensure that DLL is there. I looked into the config that get deployed to build folder and they look correct and have the cachingstore entry. I reflected upon the deployed dll and it looks okay. the project build successfully on my machine and on the build machine. I don’t know how to trouble shoot on why it works on my dev machine but does not work on the build machine.

It seems that project when deployed to build machine, is losing reference to the CachingStore dll. But why or how would it lose reference on the build machine? I also reflected on the project dll that gets deployed and it looks okay?

Please help!!!!

  • 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-16T05:36:07+00:00Added an answer on June 16, 2026 at 5:36 am

    You need another attribute on the tests that need the dll
    e.g.

    [TestMethod()]
    [DeploymentItem("SomeAssembly.dll")]
    public void MyTestForSomething()
    {
    ...
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have set up TFS Build Service on one machine in the network. Now
I'm facing a problem with my unit tests not running in my TFS Build
We are using TFS 2010 to build our solutions and run unit tests (MSTest).
I'm trying to run WatiN tests through continuous build on TFS, but I can't
In setting up our TFS 2010 build machine we are trying to avoid installing
I have sucessfully setup two machines. The first machine uses as TFS Build Controller
I am trying to get the build working on the build agent in TFS.
I am currently trying to get a TFS Build Definition to automatically deploy my
We have our code available in TFS. When we take code in one machine
First, the prior situation: We have this project with a one-click build script. It's

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.