why vs.net always recompile the projects that are compiled?

Discussion in 'ASP .Net' started by Dai Hao, Aug 15, 2003.

  1. Dai Hao

    Dai Hao Guest

    Hi all,

    I have a solution that includes several projects, and one of them depends on
    all others. When I compile it in Visual Studio, it always recompile all the
    other projects even though I havn't modified them at all. This is annoying
    coz whenever I make a small change, I have to wait for the whole solution to
    be compiled. Can anybody suggest why and any way to solve it?

    p.s. whenever I press F5 for debug, VS will recompile the solution even if I
    havn't modified anything at all. This is stupid...

    Dai Hao, Aug 15, 2003
    1. Advertisements

  2. I have the same question.It says it's compiling.

    However, I/m not sure that the same compilers run, or that they run for the
    same amount of time. For instance, perhaps the "csc" command, called when
    the source file hasn't changed, simply checks for changes in the referenced
    assemblies? Such a change can change the meaning of the program and require
    a full compile, even if the source code didn't change.

    This is new technology, and the only way to know what it's doing is either
    to measure, or to ask politely.
    John Saunders, Aug 15, 2003
    1. Advertisements

  3. ....
    My point is that it needs to check the references your code uses, whether or
    not your code actually changes.

    I don't know if this is what it's doing while it says it's "Compiling", but
    I though I'd mention the references issue because it's new.
    John Saunders, Aug 15, 2003
  4. May be this is what you want

    Go to the Build Menu in VS.NET
    Select Configuration Manger... from the Build Menu
    For each Project Listed in your Solution you can check to Build or not to
    build it All the way to the right it is a check box
    MS News \(MS ILM\), Aug 15, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.