I think this is probably not your main issue - I'll get back to you on
that in another message.

What you are seeing below is actually the correct behavior.  The env.bat
file calls the Visual Studio vsvars32.bat file which emits the text
about the Visual C++ 6.0 stuff.

In your prior mail you show env emitting the error about AfterDrivePart.
This is actually a bug we shipped with in the beta refresh and is due to
some problem with the Windows command interpreter and line-feed only
files.  For the most part, cmd seems okay with LF-only files but in this
case it seems to cause it to miss the AfterDrivePart label in
rotorenv.bat.  It's sort of surprising that things even work after this
point but they do, although you will see bogus errors from the build
output about CanonicalizePathName and problems storing build.dat.

The solution is to simply load sscli\clr\bin\rotorenv.bat into Wordpad
and save it to the same name to restore the CR/LF line termination.  Or
just use a tool like unixtodos to convert it.

The fact that your second email didn't show the error implies that maybe
you were using smart CL/LF conversion in WinZip which will mess up other
things.  I'll reiterate that point: you *don't* want the other SSCLI
files converted to CR/LF.  Only rotorenv.bat.

John

This posting is provided "AS IS" with no warranties, and confers no
rights.


-----Original Message-----
From: Aurelian POPA [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 6:00 AM
To: [EMAIL PROTECTED]
Subject: Re: ERROR when I build under w2k sp 2


This is the most weird thing I ever see:

D:\sscli_\sscli>env
Setting environment for using Microsoft Visual Studio .NET tools. (If
you also have Visual C++ 6.0 installed and wish to use its tools from
the command line, run vcvars32.bat for Visual C++ 6.0.) CLR environment
(D:\sscli_\sscli\clr\bin\rotorenv.bat)
Building for Operating System - NT32
             Processor Family - x86
                    Processor - i386
            Build Environment = D:\sscli_\sscli\rotorenv
                   Build Type - fastchecked

D:\sscli_\sscli>env
CLR environment (D:\sscli_\sscli\clr\bin\rotorenv.bat)
Building for Operating System - NT32
             Processor Family - x86
                    Processor - i386
            Build Environment = D:\sscli_\sscli\rotorenv
                   Build Type - fastchecked

So u can see that now , second time is correct ...
Aurelian POPA
http://www.aurelian.ro

> -----Original Message-----
> From: Aurelian POPA
> Sent: Thursday, August 01, 2002 3:34 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET-ROTOR] ERROR when I build under w2k sp 2
> Importance: High
> 
> 
> another strange problem is that , when I run env.bat first
> time I receive:
> 
> Setting environment for using Microsoft Visual Studio .NET
> tools. (If you also have Visual C++ 6.0 installed and wish to 
> use its tools from the command line, run vcvars32.bat for 
> Visual C++ 6.0.) CLR environment 
> (D:\sscli\clr\bin\rotorenv.bat) The system cannot find the 
> batch label specified - AfterDrivePart Building for Operating 
> System - NT32
>              Processor Family - x86
>                     Processor - i386
>             Build Environment = D:\sscli\rotorenv
>                    Build Type - fastchecked
> 
> if I run second time , I receive:
> 
> CLR environment (D:\sscli\clr\bin\rotorenv.bat)
> The system cannot find the batch label specified -
> AfterDrivePart Building for Operating System - NT32
>              Processor Family - x86
>                     Processor - i386
>             Build Environment = D:\sscli\rotorenv
>                    Build Type - fastchecked 
> 
> 
> Aurelian POPA
> http://www.aurelian.ro
> 

Reply via email to