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

Integrate building updates into Visual Studio Options
brianh
#1 Posted : Thursday, June 28, 2007 8:49:44 AM
Rank: Administration
Groups: Member, Administration

Joined: 5/24/2007
Posts: 362
Location: Minnesota
Using the BuildUpdate MSBuild Action posted here

http://www.kineticjump.com/foru...ult.aspx?g=posts&t=2

you can build your AppLife Update project during the visual studio build process.

To set this up, you need to add the build task to your application's visual studio project file. Place the action in the AfterBuild target.

1. Unload your project file from Visual Studio.
2. Open the project file for editing.
3. Place the Kjs.AppLife.Update.BuildUpdateTask.dll file in the project folder. To place this file elswehere, you need to modify the AssemblyFile property of the UsingTask element.
4. Add the following to the AfterBuild Target

Code:
<UsingTask AssemblyFile="Kjs.AppLife.Update.BuildUpdateTask.dll" TaskName="Kjs.AppLife.Update.MSBuild.BuildUpdate" />
  <Target Name="AfterBuild">
    <BuildUpdate Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
                 ProjectFile="..\Simple.aup"
                 UpdateVersionSource="$(TargetPath)"
                 AppLifeUpdateCmdLocation="C:\Program Files\AppLife Update\MakeUpdate" />
  </Target>


5. Modify the ProjectFile property to point to your aup file.
6. Modify the AppLifeUpdateCmdLocation if necessary.

This configuration builds an update package whenever your project is built in the Release build configuration. You can modify as necessary to suite your situation.


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.