Why doesn't C# allow incremental compilation like Java?



Why doesn't C# allow incremental compilation like Java?

Specifically, in Java I can compile single .java files in isolation.
The resulting individual .class files can be grouped into .jar files.

In C#, there appears to be no analog. I have to compile all my .cs
files into a single .dll.

This has serious drawbacks in terms of compilation. With Eclipse, I
change a file and only that file is re-compiled. With Visual Studio, I
change a file and have to manually re-compile, which may take 10+
seconds for large projects (even if all I did was add a space to a
comment).

Why was this design decision made? And is there any way to speed up
Visual Studio 2005 C# compilation? Are there plans to have background
compilation in future versions of Visual Studio?

Thanks.

.



Relevant Pages

  • Re: What would you like to know about JRuby?
    ... I often find myself writing jruby scripts in java just ... compilation is basically just a "blob of methods" that are wired up ... public IRubyObject method__1$RUBY$bar; ...
    (comp.lang.ruby)
  • Re: Why not Half Life 3 on Java ?
    ... I'm not a Java guru, ... > Excelsior JET is able to do reasonable "static" compilation. ... >> and pointers. ... > Only legal operator overloading is the operator overloading defined ...
    (comp.games.development.programming.misc)
  • Re: Smalltalk w/o IDE, etc.?
    ... Java crowd was sometimes along the line of, "sure there's a lot of verbosity in Java, but the IDE will generate all that infrastructure for you". ... Java is a compiled language and Ruby is an interpreted scripting language. ... you'd realize that the programmer is shielded from this fact - compilation is transparent and happens on the fly as you modify the program. ... the relative differences between {Ruby, Smalltalk, Lisp}, I think I'll pursue Lisp first, and then learn Smalltalk afterward. ...
    (comp.lang.smalltalk)
  • Re: Java (bytecode) execution speed
    ... At least two people were kind enough to point out that Java uses a JIT compilation system and that in any case the difference of execution time beween a Java progam and a hypothetical compiled version of the same algorithm, would probably be due more to the differences in heap managemant and/or garbage collection than in raw compilation speed. ... the JVM's machine language but "below" the java source language, that would create the need to compile the byte code "the rest of the way down" to the actual jvm machine language, but NOT to native hardware machine language. ... object code - what the programmer wants done, but in a form the computer can understand ...
    (comp.lang.java.programmer)
  • Re: Do you still choose java????
    ... The Java Virtual Machine translates ... the Java Virtual Machine can both interpret ... > delay due to the compilation time. ... > code can benefit the most from machine language compilation. ...
    (comp.lang.java.programmer)