PDA

View Full Version : How do I get the filename output??


jaylab
06-19-2006, 02:22 PM
When I build a VB project I get the follwoing infomration logged:

6/19/2006 3:14:53 PM: Building project step 'SPEL'...
Step default property 'Filename' = 'C:\vb6project.vbp'
building...
Build of 'vb6project.dll' succeeded.

Is there a property or anything I can call to get the output file name (vb6project.dll) from above? I've tried using Step.Property to no avail.

Thanks.

kinook
06-19-2006, 04:44 PM
The target filename is not available in a step property. You could parse the .vbp file to get it (see attached sample).

jaylab
06-20-2006, 08:10 AM
This works fine. I thought there was a property or something since the dll\exe name is returned in the output pane.

I would imagein we would have to do something similar for C++ projects? Thanks.