Generating VS 2005 .vcproj's by hand

Posted by Kevin on Stack Overflow See other posts from Stack Overflow or by Kevin
Published on 2011-02-06T23:13:24Z Indexed on 2011/02/06 23:25 UTC
Read the original article Hit count: 174

Filed under:

I'm working on a script that generates Visual Studio 2005 C++ project files (.vcproj).

The script reads a makefile, then spits out a c++ project.

INPUT: makefile ---> OUTPUT: VS 2005 c++ project (.vcproj)

However, when I try to build the auto-generated project in VS 2005, error outputs: "Unspecified Error." Evidently, I am not generating the VS 2005 .vcproj file correctly.

Assuming that my c++ project file was malformed, I opened up VS 2005 and made a new C++ project. I actually copied the good, VS 2005-created project file to my non-working, malformed project file. I replaced the Name, Reference Includes (.libs), Compile Includes (.cc, .c), etc. in the good VS 2005 project with my malformed project file's information.

However, I still cannot get VS 2005 to compile my .vcproj. Perhaps VS 2005 is very particular about the content of its .vcproj's?

Please give me advice on how to manually generate a VS 2005 .vcproj.

Thanks!

© Stack Overflow or respective owner

Related posts about visual-studio-2005