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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:28:41+00:00 2026-05-27T21:28:41+00:00

We use Nant and devenv.com to build all our assemblies including the website project.

  • 0

We use Nant and devenv.com to build all our assemblies including the website project. Then we would use aspnet_compiler.exe to compile the published website.

Is this the correct way to do it? Historically, we always used the aspnet_compiler with plain vanilla website folders, but I’m not sure if this is really the correct tool for publishing websites that are part of a website project. It sort of feels wrong to have to do this as a 2 stage process using 2 different tools.

  • 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-27T21:28:42+00:00Added an answer on May 27, 2026 at 9:28 pm

    Using aspnet_compiler.exe is one of many ways to publish a website:
    http://forums.asp.net/t/1544792.aspx#_What_is_the1

    Since a web project can be compiled using msbuild (instead of devenv.com), you can also create a custom msbuild target to publish your files:
    http://www.digitallycreated.net/Blog/59/locally-publishing-a-vs2010-asp.net-web-application-using-msbuild

    In this way, you can combine the compiling and publishing of the web site in one step.

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

Sidebar

Related Questions

HI, We are using NANT build scripts in our project. The scenario is as
I'm trying to use NAnt/NAntContrib build script to build a web application on Windows
We use a CruiseControl.Net/NAnt/Subversion stack for CI. Doing a fresh checkout for every build
I want to use the <nant> task in my build script but I want
I'm trying to use the NAnt <get> task to download some artifacts from our
I'm rewriting our NAnt build scripts to make them cleaner and simpler, as well
I am working on a NANT build project to build a VS project. One
We've just newly decided to use NServiceBus on our project and we're experiencing some
How can I use nant tasks to increment build versions? To be more specific
I would like to use Nant to copy files to a path like \\server\c$\program

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.