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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:37:16+00:00 2026-06-01T04:37:16+00:00

A little over a year ago I posted a question about splitting a build

  • 0

A little over a year ago I posted a question about splitting a build into multiple outputs and followed the recommended solution. Now I need to build on this a little. This solution contains three projects that produce deployable bits and then some other projects that contain code common to the deployable projects (business logic and data access type stuff). Of the three deployable projects, two of them are windows services and one is a wcf webservice. I can build all of these locally fine, but when I build this on our build server things get a little strange.

When I build my webservice project locally I get a folder structure like this:

-Published Websites
   Service file
   Config file
   -Bin
       Service DLL’s

This is the desired output for the webservice, however I don’t want to build locally. When I originally built on the build server everything was getting jumbled together like this:

-Published Websites
   Service file
   Config file
   -Bin
       Service DLL’s
 All windows service exe's
 All DLL's needed by the service exe's

I followed the suggestions in the article linked at the beginning of this post. In a nutshell I made a change to the build template and also tweaked the output path in the project files. This resulted in my build output looking like this:

Build Folder
 -WIN SERVICE 1
   EXE’s
   DLL’s
 -WIN SERVICE 2
   EXE’s
   DLL’s
 -WEBSERVICE
   DLL’s

The problem here is that the folder structure for the webservice is not intact (the svc and config files and the bin folder are all missing). I need this structure as I don’t deploy directly to the webserver, we use a staging location. I’d rather not split the webservice into its own solution as it is logically related to the windows services and all the common code in the solution.

So, the big question is how do I set up a build that can output multiple directories, but one of those directories is a webservice and it contains the appropriate files and directory structure?

  • 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-01T04:37:17+00:00Added an answer on June 1, 2026 at 4:37 am

    The only Solution I’ve been able to come up with is to have two different builds for this solution. One builds the webservice and the other builds the windows services. This allows me to keep the the solution together. We’ll just have to remember to run both builds when common code changes.

    Any suggestions/refinements to this solution are welcome.

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

Sidebar

Related Questions

Scott Guthrie blogged about ASP.NET MVC 2: Model Validation little over a year ago
I opened up a huge Solution in VS2008. I has about a little over
When I began using jQuery a little over a year ago, I needed to
This question has been asked before a little over three years ago. There was
I've been coding in C# for a while, A little over a year professionally,
I've been doing ASP.NET a little bit (on and off) over the last year,
I've been using R for a little over a year now and it's been
For about a year and a half I used Codeigniter to build my sites.
I submitted my app a little over a week ago and got the dreaded
Okay, so I have been developing in Java for a little over a year

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.