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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:03:25+00:00 2026-05-10T16:03:25+00:00

I run an ASP.NET website solution with a few other projects in it. I’ve

  • 0

I run an ASP.NET website solution with a few other projects in it. I’ve known that MSBuild projects are capable of this, but is it the best way? Are they easy to create? Is nAnt, CruiseControl.NET or any other solution better?

When I build the site (using Web Deployment Projects), can I automate part of the build so that it does not copy certain folders from the project into the Release folder? For instance, I have folders with local search indexes, images and other content part of the folder, but I never need or upload those when deploying the project.

I’m also looking toward this type of solution to automatically increment build and version numbers.

  • 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. 2026-05-10T16:03:25+00:00Added an answer on May 10, 2026 at 4:03 pm

    Here’s an example of a Web Deployment Project scripting this sort of task in the .wdproj file:

      <Target Name='AfterBuild'>     <!-- ============================ Script Compression============================ -->     <MakeDir Directories='$(OutputPath)\compressed' />     <Exec Command='java -jar c:\yuicompressor-2.2.5\build\yuicompressor-2.2.5.jar --charset UTF-8 styles.css -o compressed/styles.css' WorkingDirectory='$(OutputPath)' />     <Exec Command='move /Y .\compressed\* .\' WorkingDirectory='$(OutputPath)' />     <RemoveDir Directories='$(OutputPath)\sql' />     <Exec Command='c:\7zip-4.4.2\7za.exe a $(ZipName).zip $(OutputPath)\*' />   </Target> 

    This would allow you to delete a folder.

    (I suspect that if you wanted to not have the folder copy over at all, the solution file would be the place to specify that, though I haven’t had to use that.)

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

Sidebar

Ask A Question

Stats

  • Questions 237k
  • Answers 237k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer First hit in google: "Modifiy Emails sent by CruiseControl.NET" May 13, 2026 at 6:39 am
  • Editorial Team
    Editorial Team added an answer Separate the common code into a single method and pass… May 13, 2026 at 6:39 am
  • Editorial Team
    Editorial Team added an answer The original idea is still there, although there are layers… May 13, 2026 at 6:39 am

Related Questions

I run an ASP.NET website solution with a few other projects in it. I've
During our build process we run aspnet_compiler.exe against our websites to make sure that
I am looking for a library to convert HTML to PDF, including styles. I
I'm working on an ASP .NET 2.0 site which uses a Web Application project
I've seen several other posts similar to this (namely https://stackoverflow.com/questions/5237/solutions-for-working-with-multiple-branches-in-asp-net ) but there are

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.