This project is read-only.
1
Vote

SigImp: Does not process more than one header file

description

The -help description for SigImp indicates that it can accept multiple header files for processing. However, when attempting to use this feature I found that only the first header file would be processed. I found the problem in the ProcessHeaderFiles() function of Module1.vb.

This line:
writer.Write("#include ""{0}""", p)
Should be changed to:
writer.WriteLine("#include ""{0}""", p)

This ensures that each #include statement written to the temporary file is written to its own line, which allows the preprocessor to properly parse them.

comments