The Kinetic Jump site navigation header requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

Welcome Guest Search | Active Topics | Log In | Register

MSBuild Task to use the AppLife command line utility Options
brianh
#1 Posted : Thursday, June 28, 2007 6:23:12 AM
Rank: Administration
Groups: Member, Administration

Joined: 5/24/2007
Posts: 283
Location: Minnesota

Updated on November 30th, 2009 to support AppLife Update 2.0 direct update version linking.

 

Here is a MSBuild Task that you can use to build and publish AppLife Updates using MSBuild.  To use it, define the task assembly and add a BuildUpdate task.


<UsingTask AssemblyFile="Kjs.AppLife.Update.BuildUpdateTask.dll" TaskName="Kjs.AppLife.Update.MSBuild.BuildUpdate" />

<BuildUpdate
  ProjectFile="Simple.aup" UpdateVersion="2.0.0.0" AppLifeUpdateCmdLocation="C:\Program Files\AppLife Update\MakeUpdate" />

 

Here is list of all of the properties of the task:

 

ProjectFile (Required)

The path to the aup file that is being built or published.

 

UpdateVersionSource

The version number of the new update or a path to an assembly. If an assembly path is provided, the assembly version number is used to set the update version.  If the update project (aup) uses direct version linking this value must be omitted.

 

Silent

Set to "True" to supress build output.

 

TargetType

"Current" uses the target list in the project. "All" sets the target list to (All). "Last" sets the target list to include only the last version built. "Custom" sets the target list to the value of the CustomTargets property.

 

CustomTargets

Comma delimited string of targets. "2.0.0.0, 3.0.0.0, 4.0.0.0" Versions can be prefixed with a > to indicate that any higher versions can also be updated. (e.g. ">5.0.0.0")

 

SummaryFile

String path to a txt file containing summary text.

 

CustomDataFile

String path to a txt file containing custom data text.

 

Publish

Set to "True" to publish the update after the build.

 

PublishLocation

String uri to publish to a different location than the defined project location.

 

PublishUserName

Sets the network credentials username for the publish operation.

 

PublishPassword

Sets the network credentials password for the publish operation.

 

AppLifeUpdateCmdLocation

Sets the location of the AppLifeUpdateCmd.exe command line utility.

File Attachment(s):
Kjs.AppLife.Update.BuildUpdateTask.dll (33kb) downloaded 31 time(s).
Brian Haas
Kinetic Jump Software
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.