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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:45:19+00:00 2026-05-23T13:45:19+00:00

I am using MSBuild in my TFS Buildprocess using the DefaultTemplate to build multiple

  • 0

I am using MSBuild in my TFS Buildprocess using the DefaultTemplate to build multiple configurations(Debug/Release) of the same solution. When I build only release or only debug the unit tests are run but when I run the build with both configurations the unit tests are not run.

When I am running multiple configurations I have each of them Defined in the build definition under Process-> Items to Build-> Configurations to Build which is Mixed Platforms|Release,Mixed Platforms|Debug. When I run a single configuration I am using Mixed Platforms|Release or Mixed Platforms|Debug.

I am unable to put the entire log here(It is over 6000 lines long) but it appears that it isnt finding any of the testAssemblies.

Edit:

Here are the actual sections of the log. I’m not sure where Mixed Platforms\Release is coming from in the searchpathroot.

I should also add that we compile into our Source’s folder because a few of our scripts only work in that layout.

Debug Only(works)

Run MSTest for Test Assemblies
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe /nologo /usestderr /testSettings:”C:\Builds\6\ProductName\BuildName\Sources\Product\Local.testsettings” /searchpathroot:”C:\Builds\6\ProductName\BuildName\Sources” /resultsfileroot:”C:\Builds\6\ProductName\BuildName\TestResults” /testcontainer:”C:\Builds\6\ProductName\BuildName\Sources\Test\UnitTestCommon\bin\Debug\UnitTestCommon.dll” /testcontainer:”C:\Builds\6\ProductName\BuildName\Sources\Test\UnitTestCommon\bin\Release\UnitTestCommon.dll” /testcontainer:”C:\Builds\6\ProductName\BuildName\Sources\Test\UnitTestWCF\bin\Debug\UnitTestWCF.dll” /testcontainer:”C:\Builds\6\ProductName\BuildName\Sources\Test\UnitTestWCF\bin\Release\UnitTestWCF.dll” /publish:”http://dctfs2010.company.dc:8080/tfs/Product” /publishbuild:”vstfs:///Build/Build/964″ /teamproject:”ProductName” /platform:”Mixed Platforms” /flavor:”Debug”
Loading C:\Builds\6\ProductName\BuildName\Sources\Product\Local.testsettings…
Loading C:\Builds\6\ProductName\BuildName\Sources\Test\UnitTestCommon\bin\Debug\UnitTestCommon.dll…
Loading C:\Builds\6\ProductName\BuildName\Sources\Test\UnitTestCommon\bin\Release\UnitTestCommon.dll…

Debug and Release(Does not work)

Run MSTest for Test Assemblies
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe /nologo /usestderr /testSettings:”C:\Builds\6\ProductName\BuildName\Sources\Product\Local.testsettings” /searchpathroot:”C:\Builds\6\ProductName\BuildName\Sources\Mixed Platforms\Release” /resultsfileroot:”C:\Builds\6\ProductName\BuildName\TestResults” /testcontainer:”C:\Builds\6\ProductName\BuildName\Sources\Test\UnitTestCommon\bin\Debug\UnitTestCommon.dll” /testcontainer:”C:\Builds\6\ProductName\BuildName\Sources\Test\UnitTestCommon\bin\Release\UnitTestCommon.dll” /testcontainer:”C:\Builds\6\ProductName\BuildName\Sources\Test\UnitTestWCF\bin\Debug\UnitTestWCF.dll” /testcontainer:”C:\Builds\6\ProductName\BuildName\Sources\Test\UnitTestWCF\bin\Release\UnitTestWCF.dll” /publish:”http://dctfs2010.company.dc:8080/tfs/Product” /publishbuild:”vstfs:///Build/Build/962″ /teamproject:”ProductName” /platform:”Mixed Platforms” /flavor:”Release”
Directory “C:\Builds\6\ProductName\BuildName\Sources\Mixed Platforms\Release” not found.

  • 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-23T13:45:19+00:00Added an answer on May 23, 2026 at 1:45 pm

    Turns out my outputDirectory was setup wrong for how our projects are compiled. Which is where the searchpathroot problem came from.

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

Sidebar

Related Questions

I've got a large solution that I'm using TFS (and MSBuild) to... well... build.
I'm producing builds using MSBuild, and build configurations set up in the dproj on
I need to build a DSL Solution using MsBuild and want to be able
We have a batch-based buildprocess and we are using MSBuild only for compiling our
I'm using MSBuild with TFS and I have to build 4 solutions. When the
I build whole Visual Studio solution using msbuild, it worked fine but there is
I am using MSBuild to build my stuff. I want to use CruiseControl.net as
I'm currently using msbuild for a solution of over 600 projects. Imagine I change
Does anyone have a good way to build MSI (vdproj) projects using MsBuild or
I am working on Build Automation via Team Build (TFS 2008). We are using

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.