N
NvrBst
I'm wondering if this is possible... Basically say I have a lot of .cs
files but only 1 of them changes. Is there a way (with the csc.exe, or
VS.NET 2005, or another C# Compiler), that I can compile everything
before hand, keep the object files of the unchanged .cs files, and just
compile the 1 file I edit and somehow link it with my exsisting object
files?
IE in C++, all the .cpp files compiled to .o files. And you can keep
all the .o files and only update the .o file that you are working with
and link them at the end instead of compiling the entire project again.
Basically when I compile with VS.NET 2005 (if its after a "Clean
Solution" or After I already compiled and just changed 1 file, it seems
to always call the same line in the "Build Output", namely
------ Build started: Project: MyProject, Configuration: Debug Any CPU
------
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig
/unsafe- /nowarn:1701,1702 ....
I also see that a "\obj\Debug\" with a bunch of ".resources" and
".cashe" files are kept but I'm not sure how to use these (if at all
possible?) with the csc.exe if I only change 1 .cs file. The # of
files here are a lot less than the amount of .cs files I have. And I'd
like to see it manually (see what the csc.exe (or such) that its
calling with the obj\Debug\ files).
Is this at all possible with C#? Thanks
NB
files but only 1 of them changes. Is there a way (with the csc.exe, or
VS.NET 2005, or another C# Compiler), that I can compile everything
before hand, keep the object files of the unchanged .cs files, and just
compile the 1 file I edit and somehow link it with my exsisting object
files?
IE in C++, all the .cpp files compiled to .o files. And you can keep
all the .o files and only update the .o file that you are working with
and link them at the end instead of compiling the entire project again.
Basically when I compile with VS.NET 2005 (if its after a "Clean
Solution" or After I already compiled and just changed 1 file, it seems
to always call the same line in the "Build Output", namely
------ Build started: Project: MyProject, Configuration: Debug Any CPU
------
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig
/unsafe- /nowarn:1701,1702 ....
I also see that a "\obj\Debug\" with a bunch of ".resources" and
".cashe" files are kept but I'm not sure how to use these (if at all
possible?) with the csc.exe if I only change 1 .cs file. The # of
files here are a lot less than the amount of .cs files I have. And I'd
like to see it manually (see what the csc.exe (or such) that its
calling with the obj\Debug\ files).
Is this at all possible with C#? Thanks
NB