G
Guest
Here's my scenario: VS2005, .NET and .NETCF C# projects mices in a single
solution file, referencing the same source code base (the NETCF projects use
reflinks to the NET sources)
Now I am trying the following
#if !NETCF
{some code which is only compileable under .NET but now is excluded}
#endif
NETCF is defined in compiler settings
the output window shows correctly a /define:TRACE;DEBUG;PocketPC;NETCF
however the #if !NETCF (I tried an #if FULLFRAMEWORK too) is ignored by the
compiler....
What am I missing?
Thanks ahead for any help!
tb
solution file, referencing the same source code base (the NETCF projects use
reflinks to the NET sources)
Now I am trying the following
#if !NETCF
{some code which is only compileable under .NET but now is excluded}
#endif
NETCF is defined in compiler settings
the output window shows correctly a /define:TRACE;DEBUG;PocketPC;NETCF
however the #if !NETCF (I tried an #if FULLFRAMEWORK too) is ignored by the
compiler....
What am I missing?
Thanks ahead for any help!
tb