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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:38:45+00:00 2026-05-20T22:38:45+00:00

I try to compile my web project with aspnet_compiler. aspnet_compiler -f -fixednames -u -v

  • 0

I try to compile my web project with aspnet_compiler.

aspnet_compiler -f -fixednames -u -v / -p C:\test\testproj\testproj c:\test\output -c

The testproj is a web site that has a dependency to a class library called MyLib.

The problem is that aspnet_compiler only compiles the web site and not the class library MyLib.
So whenever I make changes to the class library I have to either manually build the MyLib using msbuild and copy the .dll. Or rebuild the solution in visual studio.

How can I make aspnet_compiler rebuild all referenced projects?

  • 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-20T22:38:46+00:00Added an answer on May 20, 2026 at 10:38 pm

    Unfortunately the aspnet_compiler cannot build any of the project dependencies of your web site. To do this, there are a couple of options available to you:

    If you are using Visual Studio 2005 or 2008, create a Web Deployment project (first you’ll need to download and install these from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0AA30AE8-C73B-4BDD-BB1B-FE697256C459) and then use MSBUILD.EXE to compile your web site and all of its dependencies:

    C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBUILD C:\test\testproj\testproj.wdproj /target:Clean;Rebuild
    

    If you are using Visual Studio 2010, you can migrate your web site to an ASP.NET Web Application project which uses a .csproj file that can be compiled with MSBUILD (no additional downloads required):

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBUILD C:\test\testproj\testproj.csproj /target:Rebuild;Package
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I try to compile my VB.NET web project, I get an error that
When working with the Web Site style ASP.NET project, VS.NET will compile all the
I get the following error when I try to compile an asp.net site using
I try to compile with VS 2008 old C# Service project based on WSE
When I try to compile the newest version of Clisp on Ubuntu 8.04 I
When I try to compile code on VS 2005 and it fails, the line
I want to add a custom base class for all of my web forms.
I moved a typed dataset from one project to an ASP Web Application project.
I have upgraded my solution from VS2008. In our web project there are 2
I have an ASP.NET web application project which references another project called ModusCore (or

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.