As part of my automating all of our VFP builds through TFS Build, I've come to our first multi-threaded DLL project and I'm running into a weird problem.
My build prg builds the project from the PJM file and recompiles just fine. When I get to BUILD MTDLL, it looks as though the application builds successfully but when it attempts to generate the type libraries, I get "Function argument value, type, or count is invalid." If I open the newly created project, I see on the servers tab that no classes are listed. When I then manually build the DLL, the type libs generate successfully.
Does anyone have any ideas as to why the type lib registration is failing via the BUILD command?
Update: I tried using the Build method of the project object instead of using the BUILD MTDLL command. While that method doesn't produce an error, it still does not produce any type library information. Definitely stumped.
Jon Rosenbaum
Devcon Drummer