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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:09:36+00:00 2026-06-15T11:09:36+00:00

We have a solution that contains 17 projects. Solution has several configurations such as

  • 0

We have a solution that contains 17 projects.
Solution has several configurations such as Debug, Release, Test, Publish and etc.

Also team project has several build definitions, each one is specialized for a configuration.
We use Release configuration build for nightly builds and Publish configuration build for publish and deployment.
So these build definitions, build same source code. But there is a problem…

Our nightly build creates obj\Release directories for each project but publish build doesn’t.
Because of this publish build doesn’t create server publish package.

When I looked to the build logs I saw the differences like below.
Nightly build – Release configuration (for each project)

PrepareForBuild:
  Creating directory "obj\Release\".

Publish build – Publish configuration (for each project)

_DeploymentUnpublishable:
  Skipping unpublishable project.

But I couldn’t understand why?
Which flag controls this?

We are using TFS 2010, so Team Build 2010.

  • 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-15T11:09:38+00:00Added an answer on June 15, 2026 at 11:09 am

    Try adding the following deployment settings to the project file inside the property group for the build configuration you want to publish:

    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
        ...
        <FilesToIncludeForPublish>OnlyFilesToRunTheApp</FilesToIncludeForPublish>
        <DeployOnBuild>true</DeployOnBuild>
        <DeployTarget>Package</DeployTarget>
        <PackageAsSingleFile>true</PackageAsSingleFile>
    </PropertyGroup>
    

    I was getting a similar error on a web project’s CI build. Adding the deployment settings to the web.csproj file corrected it.

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

Sidebar

Related Questions

We have a Visual Studio 2010 solution that contains several C# projects in accordance
I have a C# solution in VS2010 that contains three projects. This solution has
I have a Visual Studio 2010 solution that contains multiple projects. One of these
Suppose I have a solution inside a TFS collection that contains 3 projects. Ho
I have a solution that contains two projects. One project is an ASP.NET Web
I have a solution which has the following projects: Core (contains classes for processing,
We have a Visual Studio solution that comprises multiple production and test projects. The
I have a Visual Studio 2010 solution with several projects, including .NET4 test projects.
I have a solution (sln file) file that contain several projects. The sln is
I have a Visual Studio 2010 Solution that contains three projects: A Windows Service

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.