After Publish event in Visual Studio

前端 未结 5 1990
情书的邮戳
情书的邮戳 2020-12-05 13:41

I am trying to invoke simple task after publish event. When I say \"publish\", I mean publish in Visual Studio, right click on project and pressing \"Publish...\". I have in

5条回答
  •  自闭症患者
    2020-12-05 14:20

    My answer for another question might be of some use.

    AfterPublish script doesn't run when I publish a web app

    Particularly, using the path to the 'published files', you can pass in a parameter via $(WebProjectOutputDir)\$(WPPAllFilesInSingleFolder). This would be something like c:\{path to *.csproj}\obj\{build configuration}\Package\PackageTmp.

提交回复
热议问题