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.WebDe ployment.target s.
-->
<Target Name="BeforeBui ld">
<Message Text="This is the BeforeBuild target" Importance="nor mal"/
></Target>
<Target Name="BeforeMer ge">
</Target>
<Target Name="AfterMerg e">
</Target>
<Target Name="AfterBuil d">
<Message Text="This is the AfterBuild target" Importance="nor mal"/
></Target>
and this is my result :
C:\Documents and Settings\admini strator.DEVNET\ My Documents\Visua l
Studio 2005\WebSites\I TDesign.Inits.U pdateContactsWe b
\Default.aspx.c s(397,14): warning CS0162: Unreachable code detected
Validation Complete
------ Rebuild All started: Project:
ITDesign.Inits. UpdateContactsW eb_deploy1, Configuration: Debug Any CPU
------
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \aspnet_compile r.exe -v /
ITDesign.Inits. UpdateContactsW eb -p "C:\Documen ts and Settings
\administrator. DEVNET\My Documents\Visua l Studio 2005\WebSites
\ITDesign.Inits .UpdateContacts Web" -u -f -c -d "C:\Documen ts and
Settings\admini strator.DEVNET\ My Documents\Visua l Studio 2005\Projects
\ITDesign.Inits .UpdateContacts Web
\ITDesign.Inits .UpdateContacts Web_deploy1\Deb ug\\"
c:\Documents and Settings\admini strator.DEVNET\ My Documents\Visua l
Studio 2005\WebSites\I TDesign.Inits.U pdateContactsWe b
\Default.aspx.c s(397): warning CS0162: Unreachable code detected
Running aspnet_merge.ex e ...
C:\Program Files\MSBuild\M icrosoft\WebDep loyment\v8.0\as pnet_merge.exe
"C:\Documen ts and Settings\admini strator.DEVNET\ My Documents\Visua l
Studio 2005\Projects\I TDesign.Inits.U pdateContactsWe b
\ITDesign.Inits .UpdateContacts Web_deploy1\Deb ug" -o
ITDesign.Inits. UpdateContactsW eb_deploy1 -debug -copyattrs
Successfully merged 'C:\Documents and Settings\admini strator.DEVNET\ My
Documents\Visua l Studio 2005\Projects\I TDesign.Inits.U pdateContactsWe b
\ITDesign.Inits .UpdateContacts Web_deploy1\Deb ug'.
Done building project
"ITDesign.Inits .UpdateContacts Web_deploy1.wdp roj".
========== Rebuild All: 2 succeeded, 0 failed, 0 skipped ==========