There is an exception from Light when the AssemblyManifest file does not exist.
For this authoring, where file 'c:\abc.manifest' does not exist:
<component ...="">
<file assembly="win32" assemblymanifest="abc.manifest" keypath="yes" source="c:\assembly.dll">
<file id="user-content-abc.manifest" source="c:\abc.manifest">
</file></file></component>
Light gives the following exception:
light.exe : error LGHT0001 : Could not find file 'c:\abc.manifest'.
Exception Type: System.IO.FileNotFoundException
Stack Trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean
useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, St
ring msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int
32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
at System.Threading.CompressedStack.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code,
CleanupCode backoutCode, Object userData)
at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback
, Object state)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space)
at System.Xml.XPath.XPathDocument..ctor(String uri, XmlSpace space)
at System.Xml.XPath.XPathDocument..ctor(String uri)
at Microsoft.Tools.WindowsInstallerXml.Binder.UpdateFileInformation(Output output, FileRowCollect
ion fileRows, MediaRowCollection mediaRows, IDictionary`2 infoCache) in c:\delivery\Dev\wix30\src\wi
x\Binder.cs:line 3166
at Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase(Output output, String databaseFile) in
c:\delivery\Dev\wix30\src\wix\Binder.cs:line 1360
at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output, String file) in c:\delivery\Dev
\wix30\src\wix\Binder.cs:line 324
at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args) in c:\delivery\Dev\wix30\sr
c\light\light.cs:line 511
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 15 days (the time period specified by
the administrator of this Tracker).