Clickonce publish build with nAnt does not work

Joined
Jul 24, 2012
Messages
1
Reaction score
0
Hallo
You can see my Nant build settings for clickonce
My build is succsessful but there is no changes in my Clickonce Publish Directory
I would be glad if you could give me a short instruction how to setup clickonce in my nant build file or a short tutorial how to automate my clickonce with nant
this is my email adress: (e-mail address removed)


<!-- Get the last build number from repository-->
<target name="versioning">
<svn command="checkout"
destination="${sources}/ClickOnceTest"
uri="svn://10.141.86.1/raidspace/subversion/repository/ta33/solutions/Shark_CS_Framework/${framework.client}"
verbose="true" />
<!--Increment build number-->
<version buildtype="NoIncrement" revisiontype="Increment" path="D:/ta33/solutions/sources/${framework.client}/build.number" />

<!--Commit build number to repository-->
<exec program="svn.exe" commandline="commit --force-log -F D:/ta33/blubb.txt D:/ta33/solutions/sources/${framework.client}/build.number" />
</target>

<target name ="publish-clickonce" >
<msbuild project="${sources}\${framework.client}\${framework.client}.csproj" >
<property name="Targets" value="Publish"/>
<property name="Configuration" value="${para.config}" />
<property name="Platform" value="${para.platform}" />
<property name="ApplicationVersion" value="D:/ta33/solutions/sources/${framework.client}/build.number" />
<property name="PublishUrl" value="http://10.141.86.1/co/" />
<property name="InstallUrl" value="http://10.141.86.1/co/" />
</msbuild>
<copy todir="I:/clickonce/">
<fileset basedir="${sources}/ClickOnceTest">
<include name="**/*" />
</fileset>
</copy>
</target>
....
Thanks for your Help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top