The source files included with Mozilla have the default Unix/Linux
endings, i.e. _only_ a LF character. Visual Studio expects to find the
standard DOS CR/LF pair, and reports a "corrupt project file" when it
doesn't find them.

If you have an editor such as UltraEdit, which includes a conversion
option (Unix/Mac to DOS is the choice you want), then simply open the
.vcproj, run the conversion and save the file.

If not then a quick google search for "unix2dos" will present you with
many simple command line converters. To save you a little time here's a
link to one of them: http://home.clear.net.nz/pages/niche/unix2dos.html

John


ChenA wrote:
> i download the xulrunner-1.8.0.1-source.tar.bz2,and build the
> xulrunner.
> When i open the mozilla\embedding\tests\mfcembed\mfcembed.dsp,it says
> 'Cannot load the project due to a corrupt project file.'
> I use visual studio .net 2003.
> Could someone can help me?
> Thanks.

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to