G
Guest
Hi,
I'm writing a DLL which will be used for applications written in both the
..NET Full Framework as well as the .NET Compact Framework (CF). Due to the
fact that features from the Full framework have been left out in the CF, the
DLL needs to be written for both environments. I would really prefer to have
1 DLL project which can be ported to the desired project type (full or CF)
for straight compilation instead of having 2 projects - one for full
framework and the other for the CF. This would allow easier version
modifications etc...
Is there any way of writing the code (e.g. using pre-proc directives) such
that only certain segments are compiled depending on the environment used?
Thanks.
Michael--J.
I'm writing a DLL which will be used for applications written in both the
..NET Full Framework as well as the .NET Compact Framework (CF). Due to the
fact that features from the Full framework have been left out in the CF, the
DLL needs to be written for both environments. I would really prefer to have
1 DLL project which can be ported to the desired project type (full or CF)
for straight compilation instead of having 2 projects - one for full
framework and the other for the CF. This would allow easier version
modifications etc...
Is there any way of writing the code (e.g. using pre-proc directives) such
that only certain segments are compiled depending on the environment used?
Thanks.
Michael--J.