Re: Strange behaviour with constants, when multiple projects on the same code
- From: Sergey Bogdanov <sergey.bogdanov@xxxxxxxxx>
- Date: Tue, 06 Dec 2005 16:56:37 +0200
See View->Other Window->Output (Ctrl + Alt + O) it shows the correct errors for each project.
To tell the truth, I've noticed that you can't rely on information in "Task List" window. Always see what was shown in the "Output Window".
-- Sergey Bogdanov [.NET CF MVP, MCSD] http://www.sergeybogdanov.com
maluman wrote:
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.
.
- Follow-Ups:
- References:
- Prev by Date: Re: Problem running CF 2.0 on device
- Next by Date: Re: VB.NET for WinCE: SoftInputPanel
- Previous by thread: Strange behaviour with constants, when multiple projects on the same code
- Next by thread: Re: Strange behaviour with constants, when multiple projects on the same code
- Index(es):
Relevant Pages
|