M
maluman
Hello
I followed Daniel Moth's suggestion on how to target multiple devices, and
something strange happened. I have two projects sharing the same code. They
should differ only in target device and Conditional Compilation Constants.I
have defined WINCE constant in WinCE project and PPC constant in PPC
project.
The problem is that no matter which project I try to build, compiler reads
always the same constants. I reproduced the bug in:
http://maluman.szm.sk/Configurations.zip
Please take a look at defined constants and the beggining of Form1.cs. It
throws a compilation error, depending on defined constant, and in my case it
is always #error 'WINCE defined'. No matter which project I build, no matter
which I choose for startup. Help is much appreciated.
I use VS 2003 7.1.3088.
Regards, m.
I followed Daniel Moth's suggestion on how to target multiple devices, and
something strange happened. I have two projects sharing the same code. They
should differ only in target device and Conditional Compilation Constants.I
have defined WINCE constant in WinCE project and PPC constant in PPC
project.
The problem is that no matter which project I try to build, compiler reads
always the same constants. I reproduced the bug in:
http://maluman.szm.sk/Configurations.zip
Please take a look at defined constants and the beggining of Form1.cs. It
throws a compilation error, depending on defined constant, and in my case it
is always #error 'WINCE defined'. No matter which project I build, no matter
which I choose for startup. Help is much appreciated.
I use VS 2003 7.1.3088.
Regards, m.