Hi,

I try to put this code in the file
wince600\platform\"My_Platform"\My_platform.bat:

if "%WINCEDEBUG%"=="debug" set BSP_LAN=
if "%WINCEDEBUG%"=="retail" set BSP_LAN=1

Then I go to VS.NET 2005 and change between debug and release version, open
a console with "Build-> Open Release directory in build window", in that
console make a set BSP, but in the listed variables, the BSP_LAN does not
have the correct value according to the debug/release version selected from
Visual Studio 2005.

Does anybody see anything wrong with this?

Thanks for your helps.
Regards.

Re: batch commands in "my_platform.bat" by Bruce

Bruce
Wed Dec 27 13:06:42 CST 2006

I beleive that the batch file runs before WINCEDEBUG is set. Same for
SYSGEN variables.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"sd" <cd@d.com> wrote in message
news:ePVIvqQKHHA.1912@TK2MSFTNGP03.phx.gbl...
> Hi,
>
> I try to put this code in the file
> wince600\platform\"My_Platform"\My_platform.bat:
>
> if "%WINCEDEBUG%"=="debug" set BSP_LAN=
> if "%WINCEDEBUG%"=="retail" set BSP_LAN=1
>
> Then I go to VS.NET 2005 and change between debug and release version,
> open a console with "Build-> Open Release directory in build window", in
> that console make a set BSP, but in the listed variables, the BSP_LAN
> does not have the correct value according to the debug/release version
> selected from Visual Studio 2005.
>
> Does anybody see anything wrong with this?
>
> Thanks for your helps.
> Regards.
>
>