Thanks! I am not the only one... :-) It must be a bug, time to create the workaround (again).
Wagner Alcocer At 02:57 PM 8/23/2002 -0700, you wrote: >I have also found the null characters to show up when building a .NET >solution from the command line. It is not possible to parse the file with >normal tools, because of 2 embedded nulls that are introduced after each and >every project. > >To get around this problem, I created a very simple "stripnull.exe" tool >that reads in the output file from stdin, and writes out a new file to >stdout, a character at a time, filtering out the null characters. > >Bruce > > >-----Original Message----- >From: Jeff Kryzer [mailto:[EMAIL PROTECTED]] >Sent: Thursday, August 22, 2002 5:52 AM >To: [EMAIL PROTECTED] >Subject: Re: [ADVANCED-DOTNET] Building projects from the command line > >Wagner, > >I have been using the exact same command line you have at least 1000 times >(except I use /build instead of /rebuild). I've never had any problems with >any binary or null characters in the output file. Sounds like you might >need to reinstall. <grin> > >My only advice is to make sure you have double quotes around any spaces in >your paths. But I doubt that's the problem. > >Good luck. >Jeff > > >-----Original Message----- >From: wagner >To: [EMAIL PROTECTED] >Sent: 8/20/02 8:02 AM >Subject: [ADVANCED-DOTNET] Building projects from the command line > >Pentium IV, Windows XP, DotNet SP2 > >I am having the following problem when building a project using the >command >line tool. The steps to reproduce are: >- create a console app (TheProject) using the DotNet IDE >- from the command prompt build the project and output the result to a >file: > devenv /rebuild debug TheProject.csproj /out build.txt > >Try to open the build.log file with notepad, notice how the file is >truncated. Open the same file in binary and you >will find null chars (0x00) embeded in several places, way before the >end >of the file. >Ex: "Building satellites assemblies..." 2E 2E 2E 0D 0A 00 OD OA >--------------------------------------------------------^ > >This is screwing up some text editors, even the MS IDE itself (it opens >the >file as a binary). > >Is that a bug? or is how things are now, DevStdio 6.0 did it right, >plain >text... > >Thanks for your help > >Wagner Alcocer >Andover Controls > >You can read messages from the Advanced DOTNET archive, unsubscribe from >Advanced DOTNET, or >subscribe to other DevelopMentor lists at http://discuss.develop.com. > >You can read messages from the Advanced DOTNET archive, unsubscribe from >Advanced DOTNET, or >subscribe to other DevelopMentor lists at http://discuss.develop.com. > >You can read messages from the Advanced DOTNET archive, unsubscribe from >Advanced DOTNET, or >subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
