Compile only and don't link
i need to compile ONLY source code files
for example :
i two modules (code files)
main_class.cs - math_class.cs
and that math class is used by main class
i've compiled both main class and math class
and then i edited the math class ...and wanted to rebuild the whole project
i will have to recompile ONLY the math class and relink the whole project
the compiler should Preprocessor then compile then assemble
and then the linker could be used to link object code files containing the MSIL encoded in binaries
just like C/C++.
like that i can better isolate compile time errors on a specific peace of code rather than getting errors from the whole app code ,also i don't have to re-preprocess then re-compile then re-assemble Every single file in the project that will take a lot of time.
1 comment
-
mostafaxx
commented
just to focus on the point
"the compiler should Preprocessor then compile then assemble ONLY Source code fiiles
and then the linker could be used to link object code files containing the MSIL encoded in binaries
just like C/C++.like that i can better isolate compile time errors on a specific peace of code rather than getting errors from the whole app code ,also i don't have to re-preprocess then re-compile then re-assemble Every single file in the project that will reduce the build time significantly.