When does Visual Studio call target AfterBuild & BeforeBuild? And how is it handled when these targe

Posted by Nam Gi VU on Stack Overflow See other posts from Stack Overflow or by Nam Gi VU
Published on 2010-04-09T03:37:06Z Indexed on 2010/04/09 3:43 UTC
Read the original article Hit count: 313

Filed under:
|

Hi Fiburt, Today I meet a similar problem and it reminds me about this thread. In Visual Studio, if we open the .csproj file, we see that they tell us to uncomment the two targets AfterBuild and BeforeBuild so as to execute them after and before the build of the current project accordingly.

My questions are: Where are these two targets called in Visual Studio? And how is it handled if the targets are not defined (be commented out) ?

© Stack Overflow or respective owner

Related posts about msbuild

Related posts about visual-studio