M
Maxim
Greetings,
In my C# project, I'm using a third-party Opensource library... in
source code form. I mean no assemblies, just pure source code. It
allows me to add new application-specific functionality to that
library, finetune it, and see how things work.
Well, the problem is that the library is quite huge, so the
application's size gets not really acceptable - I'm developping for an
embedded environment. In fact, I'm using probably 5 percent of that
library. I manually excluded the big "modules " I will never use, but
there is still some unused code which could serve one day. Or not.
My question is : is it possible to tell the C# compiler (I'm using VS
..Net 2003 default compiler) to *exclude unused code* from compilation,
like many C/C++ compilers do ?
Thanks !
In my C# project, I'm using a third-party Opensource library... in
source code form. I mean no assemblies, just pure source code. It
allows me to add new application-specific functionality to that
library, finetune it, and see how things work.
Well, the problem is that the library is quite huge, so the
application's size gets not really acceptable - I'm developping for an
embedded environment. In fact, I'm using probably 5 percent of that
library. I manually excluded the big "modules " I will never use, but
there is still some unused code which could serve one day. Or not.
My question is : is it possible to tell the C# compiler (I'm using VS
..Net 2003 default compiler) to *exclude unused code* from compilation,
like many C/C++ compilers do ?
Thanks !