That does seem to be the problem; if I use a sample C# project, it works fine.
It would be nice if this was more obvious. Sigh. -----Original Message----- From: Christopher Karper [mailto:christopher.kar...@gmail.com] Sent: Friday, April 03, 2009 11:56 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Using Wix and Visual Studio Yeah, I believe that would be the problem. That's the missing piece of the puzzle. Chris On Fri, Apr 3, 2009 at 2:40 PM, Simon Dahlbacka <simon.dahlba...@gmail.com>wrote: > I seem to remember that VC++ projects are not supported as project > references as they do not use msbuild. Please correct me if I'm wrong > though.. > > /Simon > > On Fri, Apr 3, 2009 at 9:31 PM, Eric Brown (REDMOND) > <eric.br...@microsoft.com> wrote: > > <ProjectReference Include="..\simple\simple.vcproj"> > > <Name>simple</Name> > > <Project>{51fd4fe2-5128-4557-b23c-be67ca3fe745}</Project> > > <Private>True</Private> > > </ProjectReference> > > > > -----Original Message----- > > From: Simon Dahlbacka [mailto:simon.dahlba...@gmail.com] > > Sent: Friday, April 03, 2009 11:22 AM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Using Wix and Visual Studio > > > > how does the <ProjectReference> tag look in your .wixproj file? > > > > On Fri, Apr 3, 2009 at 9:13 PM, Eric Brown (REDMOND) > > <eric.br...@microsoft.com> wrote: > >> Multiple times. It always comes back yellow. There's no tooltip to > provide any further feedback. (Also, I've tried this with a separate dummy > project - I get the same problem.) > >> > >> -----Original Message----- > >> From: Christopher Karper [mailto:christopher.kar...@gmail.com] > >> Sent: Friday, April 03, 2009 11:07 AM > >> To: General discussion for Windows Installer XML toolset. > >> Subject: Re: [WiX-users] Using Wix and Visual Studio > >> > >> That is VS saying the reference is invalid somehow. I'm not sure what > the > >> specific problem is, but have you tried deleting the reference and > >> recreating it? Sorry I can't do more to help right now, but I'm > wrestling > >> TFS and Team Build, and it's winning. > >> > >> Chris > >> > >> On Fri, Apr 3, 2009 at 1:24 PM, Eric Brown (REDMOND) < > >> eric.br...@microsoft.com> wrote: > >> > >>> Also, there is that yellow warning icon on the project reference. I > don't > >>> know what that means, and I can't find a reference in the > documentation. > >>> > >>> -----Original Message----- > >>> From: Christopher Karper [mailto:christopher.kar...@gmail.com] > >>> Sent: Friday, April 03, 2009 10:17 AM > >>> To: General discussion for Windows Installer XML toolset. > >>> Subject: Re: [WiX-users] Using Wix and Visual Studio > >>> > >>> I use spaces in my project names and project references, and they're > all > >>> fine. > >>> I suspect his problem is something else. I'm not sure what that is, > since > >>> this exact scenario, even down to the environment seems to match. > >>> > >>> Chris > >>> > >>> On Fri, Apr 3, 2009 at 12:29 PM, Eric Brown (REDMOND) < > >>> eric.br...@microsoft.com> wrote: > >>> > >>> > Tried using underscores and renaming; still get the same error > (CNDL0150: > >>> > Undefined preprocessor variable). > >>> > > >>> > -----Original Message----- > >>> > From: Jason Ginchereau [mailto:jason...@microsoft.com] > >>> > Sent: Thursday, April 02, 2009 5:55 PM > >>> > To: wix-users@lists.sourceforge.net > >>> > Subject: Re: [WiX-users] Using Wix and Visual Studio > >>> > > >>> > Any characters in the project name that are invalid for WiX > preprocessor > >>> > variable names get automatically converted to underscores. So without > >>> > renaming the project this should work: > >>> > > >>> > $(var.My_Test_Project.TargetFilename) > >>> > > >>> > > >>> > -----Original Message----- > >>> > From: Alex Cater [mailto:alex.ca...@apdcomms.com] > >>> > Sent: Thursday, April 02, 2009 4:28 PM > >>> > To: wix-users@lists.sourceforge.net > >>> > Subject: Re: [WiX-users] Using Wix and Visual Studio > >>> > > >>> > > >>> > I'm guessing that you cannot have spaces in a project reference > >>> variable... > >>> > > >>> > $(var.My Test Project.TargetFileName) > >>> > > >>> > Try renaming your test project to MyTestProject so the project > reference > >>> > variable becomes: > >>> > > >>> > $(var.MyTestProject.TargetFileName) > >>> > > >>> > -- > >>> > View this message in context: > >>> > > http://n2.nabble.com/Using-Wix-and-Visual-Studio-tp2578030p2578131.html > >>> > Sent from the wix-users mailing list archive at Nabble.com. > >>> > > >>> > > >>> > > >>> > > >>> > ------------------------------------------------------------------------------ > >>> > _______________________________________________ > >>> > WiX-users mailing list > >>> > WiX-users@lists.sourceforge.net > >>> > https://lists.sourceforge.net/lists/listinfo/wix-users > >>> > > >>> > > >>> > > >>> > > >>> > ------------------------------------------------------------------------------ > >>> > _______________________________________________ > >>> > WiX-users mailing list > >>> > WiX-users@lists.sourceforge.net > >>> > https://lists.sourceforge.net/lists/listinfo/wix-users > >>> > > >>> > > >>> > > >>> > > >>> > ------------------------------------------------------------------------------ > >>> > _______________________________________________ > >>> > WiX-users mailing list > >>> > WiX-users@lists.sourceforge.net > >>> > https://lists.sourceforge.net/lists/listinfo/wix-users > >>> > > >>> > >>> > ------------------------------------------------------------------------------ > >>> _______________________________________________ > >>> WiX-users mailing list > >>> WiX-users@lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/wix-users > >>> > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> _______________________________________________ > >>> WiX-users mailing list > >>> WiX-users@lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/wix-users > >>> > >> > ------------------------------------------------------------------------------ > >> _______________________________________________ > >> WiX-users mailing list > >> WiX-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wix-users > >> > >> > >> > ------------------------------------------------------------------------------ > >> _______________________________________________ > >> WiX-users mailing list > >> WiX-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wix-users > >> > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users