This is build 3.5.1322.0 that it errors in, it also errors in 3.5.1315.0 but
the version prior to that is fine (I found it in my recycle bin, so I can
compile again now). I'll open a bug then.

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: 23 January 2010 20:10
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Linked / relative files in referenced projects
causing build to fail

I'm a little confused. What version of the WiX toolset are you seeing this
problem in? If it is the latest build of WiX v3.5, please open a bug because
heat should never generate a Directory/@Name=".."

On Sat, Jan 23, 2010 at 11:24 AM, Ryan O'Neill <r...@ryanoneill.com> wrote:

> Getting;
>
> Error      2              The Directory/@Name attribute's value, '..', is
> not a valid long name because it contains illegal characters.  Legal long
> names contain no more than 260 characters and must contain at least one
> non-period character.  Any character except for the follow may be used: \
?
> | > < : / * ".
> D:\Projects\xxx\trunk\Source\yyy\myInstaller\obj\Debug\_zz.wxs
> 53           1
>
>
>
> It seems it is from a project reference that links (not the normal Visual
> Studio include) to a file two folders up. This is for multiple projects to
> share the same AssemblyInfo file. Double clicking on the error shows a
> generated file with the following;
>
>
>
>            <Directory Id="dir5096DEAD839650CE5D1B0EA77256E6C0" Name="..">
>
>                <Directory Id="dir739DA4256FF8FF4672AB90E143EE9E7D"
> Name="..">
>
>                    <Directory Id="dirA94BE61AFD9DD6DF45787EE6C992760A"
> Name="FolderName">
>
>                        <Component Id="cmp936C4B70DC14D75D7F1AB4A6D4853F18"
> Guid="*">
>
>                            <File Id="fil7568771F6A8C6F0CE06C5A1379F3A546"
> Source="$(var.MyProject.ProjectDir)\..\AssemblyInfo.vb" />
>
>                        </Component>
>
>                    </Directory>
>
>                </Directory>
>
>            </Directory>
>
>
>
> Version prior to 3.5.1315 was fine with this but since then there has
seems
> to be some extra checking going on that breaks with relative file
> references
> in referenced projects.
>
>
>
> I'll see if I can dig out my old 3.5 install now as the download links
have
> been tidied up.
>
>
>
> Ryan
>
>
>
>
>
----------------------------------------------------------------------------
--
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established
companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
----------------------------------------------------------------------------
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for
Conference
attendees to learn about information security's most important issues
through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to