tag:blogger.com,1999:blog-723611850379109347.post3008515562054658546..comments2023-05-20T01:25:48.651-07:00Comments on denis morozov: ClickOnce - how to update publish.htm with MSBuildD.http://www.blogger.com/profile/01027429188997909936noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-723611850379109347.post-74633146786543839852009-06-09T11:23:53.824-07:002009-06-09T11:23:53.824-07:00the Target sample is all there, the only thing tha...the Target sample is all there, the only thing that I committed was Dependency on another target. I took it out for simplicity sake..<br />here's the ommited part <br />Target Name="UpdatePublishPage" DependsOnTargets="GetBuildVersion"<br /><br />You should be able to create whatever targets in your file and never call them. However you have to create them to call them. Are you calling the target before (above) the actual target declaration? that might be your problem.D.https://www.blogger.com/profile/01027429188997909936noreply@blogger.comtag:blogger.com,1999:blog-723611850379109347.post-73355588240436453042009-06-09T09:03:47.463-07:002009-06-09T09:03:47.463-07:00Can you provide the <Target> ... </Target...Can you provide the <Target> ... </Target> from your .csproj? MSbuild complains that there's no target named UpdatePublishPage in the project.Graham Dunnhttps://www.blogger.com/profile/06848345395425146644noreply@blogger.com