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

Reply via email to