Generating VS 2005 .vcproj's by hand
- by Kevin
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!