AfterPublish target not working

后端 未结 5 1146
抹茶落季
抹茶落季 2020-12-01 10:40

World\'s simplest task (see below) is not being executed after I publish my web application project. Any idea why?


  <         


        
5条回答
  •  广开言路
    2020-12-01 11:17

    I'm a little lazy right now to figure out the mess of targets to find the right one for a file-based publish (which you might be interested in). What you can do in the meantime is defining an AfterBuild target in the *.pubxml file.

    
    

    ...

    I recommend also turning off the property "DeleteExistingFiles" because if you copy files into the directories being published, it does a clean somewhere during the publishing process.

    False
    

提交回复
热议问题