Oh! I think I see it now. Foo is not defined so you're ending up with the
text string "Error: Unrecognized value for Foo" in the Include. Include
doesn't support that. It supports elements being defined.
What are you trying to do?
On Fri, Mar 18, 2011 at 12:45 PM, Gregg Swanson <gregg.swan...@microsoft.com
> wrote:

> Still looking for help...
>
> -----Original Message-----
> From: Gregg Swanson [mailto:gregg.swan...@microsoft.com]
> Sent: Tuesday, March 15, 2011 9:34 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Error while including fragment from a a legacy
> project...
>
> Rob, I am currently running with version 3.6.1328.0.
>
> Gregg
>
> -----Original Message-----
> From: Rob Mensching [mailto:r...@robmensching.com]
> Sent: Tuesday, March 15, 2011 8:08 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Error while including fragment from a a legacy
> project...
>
> What are the versions of WiX toolset you are working with?
>
> On Mon, Mar 14, 2011 at 1:09 PM, Gregg Swanson
> <gregg.swan...@microsoft.com>wrote:
>
> > I am converting a legacy WIX project to build under via MSBuild and
> > the IDE. I am receiving the following error message:
> >
> > The element 'Include' in namespace '
> > http://schemas.microsoft.com/wix/2006/wi' cannot contain text. List of
> > possible elements expected: any element in namespace '##any'.
> >
> > When attempting to include the following WIX fragment -
> >
> > <Include xmlns="http://schemas.microsoft.com/wix/2006/wi";>
> >
> >  <?ifndef Foo ?>
> >  Error: Unrecognized value for Foo.
> >  <?endif?>
> > </Include>
> >
> > The line "Error: Unrecognized value for Foo." appears to be the source
> > of the error.
> >
> > Thanks,
> > Gregg
> >
> > ----------------------------------------------------------------------
> > --------
> > Colocation vs. Managed Hosting
> > A question and answer guide to determining the best fit for your
> > organization - today and in the future.
> > http://p.sf.net/sfu/internap-sfd2d
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
>
> --
> virtually, Rob Mensching - http://RobMensching.com LLC
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit for your
> organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit for your
> organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to