MSBuild Event after Publish VS 2013 -


so have problems finding target executes after have published.

i have web application , use 1 click publish filesystem.

in proj file have:

<import project="$(msbuildbinpath)\microsoft.csharp.targets" /> <import project="$(vstoolspath)\webapplications\microsoft.webapplication.targets" condition="'$(vstoolspath)' != ''" /> 

i want simple copy task after publishing filesystem:

<target name="custompostpublishactions" aftertargets="afterpublish" >  <message text="--after publish--" /> <itemgroup>   <configurationfiles include="$(projectdir)/myfolder/**/*" /> </itemgroup> <copy sourcefiles="@(configurationfiles)" destinationfolder="c:\temp\" /> 

this works many targets not afterpublish or msdeploypublish. these old targets no longer supported? can use instead?


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -