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

  • Home
  • SEARCH
  • 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 8141857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:38:58+00:00 2026-06-06T12:38:58+00:00

I have a solution which contains six projects. Four of the projects are class

  • 0

I have a solution which contains six projects.

Four of the projects are class libraries, and the other two are a WPF application, and a Windows Service. The later two projects have a project configuration called ‘Test’ – all of the class libraries do not have this configuration, only the standard ‘Debug’ and ‘Release’ configs.

I have added a solution configuration called ‘Test’, and in the Configuration Manager, I have copied the settings from Release, so that all of the class libraries are built in the Release configuration, and the WPF and Windows Services are built with the ‘Test’ configuration.

The solution build works fine in Visual Studio (2010), however, when I configure a Visual Studio (sln) runner in TeamCity 7, it ignores these settings, and attempts to build all projects using a ‘Test’ configuration, and of course it can’t find this config for the class libraries.

Is there any way to tell TeamCity to use these project contexts that are stored in the solution file?

I don’t want to have to add an unnecessary Test config to each class library which will be an exact copy of the Release config.

  • 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-06T12:38:59+00:00Added an answer on June 6, 2026 at 12:38 pm

    I’m working through exactly the same issue, unfortunately I don’t see any other option but to add in the extra configurations. We are actually using the other configurations for our web.config substitution, a nice feature of VS2010.
    It seems that it is not possible to have multiple configurations when running MSBuild.
    I get the following in TeamCity:

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(483,
    9): The OutputPath property is not set for project ‘something.csproj’.
    Please check to make sure that you have specified a valid combination
    of Configuration and Platform for this project.
    Configuration=’SomeConfiguration’ Platform=’AnyCPU’. You may be
    seeing this message because you are trying to build a project without
    a solution file, and have specified a non-default Configuration or
    Platform that doesn’t exist for this project.

    Only our main website has the “SomeConfiguration” configuration, none of the constituent projects in the solution have this configuration.

    It would be great to get another perspective on this

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

Sidebar

Related Questions

I have an solution in VS 2008 which contains two class library projects and
I have a rather large solution, which contains two documentation projects based on Sandcastle
I have a Web solution which contains two projects ( A and B )
I have a solution which contains a website and various class libraries. The exists
I have a VS2005 solution which contains a variety of projects (C++ DLLs, C++
I have a VS2010 (RTM) solution which contains: WCF Service project Console WCF client
I am using Visual Studio. I have a solution which contains 2 console application
I have a large solution which contains a mixture of C# and VB.Net projects.
I have a Solution which contains an ASP.NET Web Application project. Web Application project
I have a solution which contains a few projects and an external exe. When

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.