Being able to write commands that extend the functionality of STSADM is awesome. It is way better than having to write it from scratch to make it represent the same feel of STSADM. I ran into speedbump when i tried debugging my operation line by line. I found that I had to add in the following to the "Debug" tab on the project properties screen.
Start Action -> Start External Program = c:\program files\common files\microsoft shared\web server extensions\12\bin\stsadm.exe
Start Options -> Command Line Arguments = -o <operation> -url <url> [plus additional properties that need to be included in your custom command]

Posted
10-09-2007 10:55 AM
by
dwollerman