Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Resolution: Works For Me
Submitted By: Graeme Foster (graemefoster)
>Assigned to: Derek (derekc)
Summary: light gives warning when linking *.wixlib files
When asked to link with a *.wixlib file, light.exe
gives the warning "Source file with unexpected
extension encountered. Expected *.wixobj but actual
extension is *.wixlib"
As I understand it, light should also expect *.wixlib
I tried doing a search for the strings in that error message
and was unable to find them anywhere in the wix code base.
I also tried running something very similar to the command
below and it did not produce any errors. The error message
listed above also doesn't have an error number (like
LGHT0001) - which all WiX toolset errors have.
Please try running the problematic command by typing it in
directly from the commandline (since MSBuild or Votive may
actually be the one displaying the error).
I've closed the bug, but if you can give more information
about how you are running into this error please re-open the
bug. Please give as much info as possible about the
environment in which the WiX tools are being run and exactly
which tools are being used.