Among the many lines that got added recently to one of our WiX projects
is the following:
<File
Id="Tanks.Underground_storage_tank__or_butterfly_larva.xaml"
Name="Underground storage tank, or butterfly larva.xaml"
Source="$(var.SchematicDesignerRootFolder)SchematicDesigner\AppData\Reso
urces\IndustrialClipart\Tanks\Underground storage tank, or butterfly
larva.xaml" />
When I attempt to compile this project, light.exe gives an error:
The system cannot find the file
'..\Matrikon.Suite.Intuition.SchematicDesigner\bin\Debug\SchematicDesign
er\AppData\Resources\IndustrialClipart\ Tanks\Underground storage tank,
or butterfly larva.xaml' with type ''.
After a lot of fiddling around, it would seem that light.exe doesn't
like the ',' in the filename. (If I rename the source file on disk so
it doesn't have a comma and change the value in the Source attribute
above to match, the error goes away.) It also doesn't like '(' and ')'
from other errors that showed up when I commented out the above line.
(I wouldn't be surprised if there are others I'm going to hit lurking in
the many other files in the list.) I tried replacing the ',' with ,
but that made no difference - it gave the exact same error (comma in
place). I don't think I can do a CDATA section there as it's an Xml
attribute. Is there any way I can get light to compile properly with
this file name or am I going to have to rename a whole bunch of files to
avoid this problem?
I'm using WiX 3.0.5217.
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users