For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > February 2006 > vs 2005 AddCustomBuildStep









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author vs 2005 AddCustomBuildStep
stinos

2006-02-20, 7:00 pm

Hi All

I'm trying to make a macro that does the same as Qt's 'Add moc step to
file' plugin, because the Qt integration doesn't work in vs2005

in VC++6 there is a AddCustomBuildStep and AddCustomBuildStepToFile
method, but if I try to use it in vs2005 like this:

For Each conf In proj.ConfigurationManager()
'AddCustomBuildStepToFile(sFile, sSwitch, "Doing $(InputName).h",
"blah")
Next

I get a 'Public member not found on type configuration' error;
makes sense since it is no member, but I searched around for an
alternative and I didn't find anything usefull..
Anyone knows how to do this? it should be fairly simple but I just
don't find it..

Thanks,
Stijn

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com