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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:49:04+00:00 2026-06-15T20:49:04+00:00

I’m currently in the process of moving my project code over to using the

  • 0

I’m currently in the process of moving my project code over to using the new Team Foundation Service. I’m trying to setup gated builds to run whenever I check in new code (and run the unit tests in the solution as well), but I keep getting the same error every time it builds in TFS.

Here’s the error I keep getting:
My MSBuild error

And here is the part of the diagnostic log that deals with this: Error Log

I’ve triple checked about that App.config file: It’s in source control. Also, the project that fails is being built in other locations without any problems.

When I build in Visual Studio 2012 it works fine. When I build it using MSBuild from the command line it works fine. I’ve even installed Team Foundation Server 2012 on my local machine so that I could use the exact command line arguments that Team Foundation Service was using for MSBuild. That worked just fine.

If you need any more information I will be happy to provide it. Thanks in advance for all of your help.

EDIT: Here’s a link to this question on the MSDN TFService forum, where there is also the full diagnostic log.

EDIT (12/12): When doing Ilya’s suggestion (in his answer below), I get this from the log:

Larger log error

  • 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-15T20:49:05+00:00Added an answer on June 15, 2026 at 8:49 pm

    Ok, I’ve finally gotten this working. Huzzah!

    Per the MSDN discussion in the link above, the app.config file for the DataLayerExtensions project was corrupted somehow. Deleting it from source control and then remaking the config file did the trick for that. It is important to note that that error in the picture up there from the 12/12 edit is not pointing at the DataLayer project! It is actually the first line of trying to build the DataLayerExtensions project after its dependencies (GlobalItems and DataLayer) were built! There is a little nuance there in the tabbing.

    Subsequently, there were other app.config errors that occurred as well–all of which being because of not actually being in source control or of having the same corruption as the DataLayerExtensions config file.

    One last point to mention is that apparently, for TFService, if you are using any 3rd-party tools, you will get errors in the build service, even if it builds fine on your local machine. In order to fix that I had to create a new folder, copied those 3rd-party assemblies into it, had all of the relevant projects switch their references to the .dll files in that folder, and proceeded to check it all in. Once that was done, the build completed successfully.

    There is still an outstanding issue on the MSDN link as to why the Excel API was also being rejected like the 3rd-party tools were, but that is outside the scope of this question.

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

Sidebar

Related Questions

I want use html5's new tag to play a wav file (currently only supported
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I have thousands of HTML files to process using Groovy/Java and I need to
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am reading a book about Javascript and jQuery and using one of the
I am trying to understand how to use SyndicationItem to display feed which is
I am currently running into a problem where an element is coming back from
I have this code to decode numeric html entities to the UTF8 equivalent character.

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.