We have quite a large site now, build in C#/Asp.Net. We\'ve got two publishing profiles, one for Staging and one for Production. They have been made using standard Web Dep
Although I haven't tested it out there is some direction here
Real simple example:
<Target Name="BeforePublish" BeforeTargets="MSDeployPublish">
<Exec Command="D:\Pre.bat" />
</Target>
<Target Name="AfterPublish" AfterTargets="MSDeployPublish">
<Exec Command="D:\Post.bat" />
</Target>