I am trying to execute some commands in afterbuild event but they
simply wont fire. tried it on two different machines but I could not
get it to work
thanks
hier is my xml code :
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see
Microsoft.WebDeployment.targets.
-->
<Target Name="BeforeBuild">
<Message Text="This is the BeforeBuild target" Importance="normal"/
></Target>
<Target Name="BeforeMerge">
</Target>
<Target Name="AfterMerge">
</Target>
<Target Name="AfterBuild">
<Message Text="This is the AfterBuild target" Importance="normal"/
></Target>
and this is my result :
C:\Documents and Settings\administrator.DEVNET\My Documents\Visual
Studio 2005\WebSites\ITDesign.Inits.UpdateContactsWeb
\Default.aspx.cs(397,14): warning CS0162: Unreachable code detected
Validation Complete
------ Rebuild All started: Project:
ITDesign.Inits.UpdateContactsWeb_deploy1, Configuration: Debug Any CPU
------
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspn et_compiler.exe -v /
ITDesign.Inits.UpdateContactsWeb -p "C:\Documents and Settings
\administrator.DEVNET\My Documents\Visual Studio 2005\WebSites
\ITDesign.Inits.UpdateContactsWeb" -u -f -c -d "C:\Documents and
Settings\administrator.DEVNET\My Documents\Visual Studio 2005\Projects
\ITDesign.Inits.UpdateContactsWeb
\ITDesign.Inits.UpdateContactsWeb_deploy1\Debug\\"
c:\Documents and Settings\administrator.DEVNET\My Documents\Visual
Studio 2005\WebSites\ITDesign.Inits.UpdateContactsWeb
\Default.aspx.cs(397): warning CS0162: Unreachable code detected
Running aspnet_merge.exe ...
C:\Program Files\MSBuild\Microsoft\WebDeployment\v8.0\aspnet_ merge.exe
"C:\Documents and Settings\administrator.DEVNET\My Documents\Visual
Studio 2005\Projects\ITDesign.Inits.UpdateContactsWeb
\ITDesign.Inits.UpdateContactsWeb_deploy1\Debug" -o
ITDesign.Inits.UpdateContactsWeb_deploy1 -debug -copyattrs
Successfully merged 'C:\Documents and Settings\administrator.DEVNET\My
Documents\Visual Studio 2005\Projects\ITDesign.Inits.UpdateContactsWeb
\ITDesign.Inits.UpdateContactsWeb_deploy1\Debug'.
Done building project
"ITDesign.Inits.UpdateContactsWeb_deploy1.wdpr oj".
========== Rebuild All: 2 succeeded, 0 failed, 0 skipped ==========