Ha! Sorry, I wrote in haste, and that crap was what came out.  :-)

I created a file names WixBuild.Core.targets, and I moved the following
items from WixBuild.Common.targets:

   - CheckRequiredProperties and GetSdkDirectories targets
   - All of the UsingTask statements, with accompanying targets
   - In the ItemGroup for .csproj I moved the <AvailableItemName>
   statements.
   - The GetBuildDirectories target (I suspect that would be more
   appropriate for the WixBuild.Common.targets, but I just wanted it to work
   quickly)
   - I also duplicated the <MSBuildAllProjects> element, and included the
   new filename.

My goal was to split out the targets I would need to build an extension
(MsgGenSource, XsdGenSource, etc) without inheriting all the "bonus
features" that the wix toolkit uses to share configuration, etc.
Specifically, I didn't want my output directory overridden, and I didn't
want my assembly version overwritten.

I could trim the file down a lot more by providing a WixSdkPath property in
the core, and moving all the items I need into that folder, instead of
working from the source distro.  As I said, I just wanted it to work, more
than I wanted it to be totally "correct".   I will be cleaning it up a lot
now, since I have to move this whole thing over to my CI Build server, so, I
would be happy to share the final version (or any iteration in between, for
that matter).

I'd be willing to contribute directly to the projects, but I hear it's a big
hassle to get things included into the project..  Paperwork, approval
process, etc.  So, if you want me to send attachments or whatever, then let
me know.

:-D

Chris

On Tue, Jul 15, 2008 at 11:24 AM, Bob Arnson <[EMAIL PROTECTED]> wrote:

> Christopher Karper wrote:
> > has a bunch of items for build the Wix toolset itself as well.   I moved
> all
> > the tool settings to a WixBuild.Core.targets, and I reference that from
> > WixBuild.Common.targets.   You may want to consider doing this
> officially,
> > in order to help us Extension developers out.  ;-)
> >
>
> Maybe -- could you be a little less vague about the changes you made?<g>
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to