SystemTools Extension Reference Build Crash

153 views
Skip to first unread message

Ben Metheny

unread,
May 18, 2014, 1:00:00 PM5/18/14
to msi...@googlegroups.com
I'm using VS 2012 with WiX Toolset 3.8 extension installed. When building if the project has a reference to the System Tools extension VS will crash with the following output. I don't see anything in the stack trace specifically regarding the System Tools ext, but if I remove the reference from the project it builds fine. Any ideas on which assembly it's not able to load or how I can work around this?

C:\Program Files (x86)\WiX Toolset v3.8\bin\Light.exe -out "C:\Projects\ME365\OnPrem-branch\InstallerPackage\bin\Debug\Mobile Entree 365.msi" -pdbout "C:\Projects\ME365\OnPrem-branch\InstallerPackage\bin\Debug\Mobile Entree 365.wixpdb" -cultures:null -ext "..\..\..\..\Program Files (x86)\msiext-1.4\WixExtensions\WixSystemToolsExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\WixIIsExtension.dll" -ext "C:\Program Files (x86)\msiext-1.4\WixExtensions\WixDataSourceExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\WixSqlExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\WixUtilExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\WixNetFxExtension.dll" -sice:ICE17 -contentsfile obj\Debug\InstallerPackage.wixproj.BindContentsFileListnull.txt -outputsfile obj\Debug\InstallerPackage.wixproj.BindOutputsFileListnull.txt -builtoutputsfile obj\Debug\InstallerPackage.wixproj.BindBuiltOutputsFileListnull.txt -wixprojectfile C:\Projects\ME365\OnPrem-branch\InstallerPackage\InstallerPackage.wixproj obj\Debug\pth29CD6C5BF626AAA39D1868C124E7F882\Database.wixobj obj\Debug\pth29CD6C5BF626AAA39D1868C124E7F882\PowershellScripts.wixobj obj\Debug\pth29CD6C5BF626AAA39D1868C124E7F882\SharePointApp.wixobj obj\Debug\pth29CD6C5BF626AAA39D1868C124E7F882\WebsiteIIS.wixobj obj\Debug\pth29CD6C5BF626AAA39D1868C124E7F882\WebsiteDirectory.wixobj obj\Debug\CustomActionDefinitions.wixobj obj\Debug\Features.wixobj obj\Debug\Product.wixobj light.exe(0,0): error LGHT0001: Object reference not set to an instance of an object.
Exception Type: System.NullReferenceException
Stack Trace:
  at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
  at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
  at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
  at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
  at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
  at System.Reflection.Assembly.Load(String assemblyString)
  at Microsoft.Tools.WindowsInstallerXml.WixExtension.Load(String extension)
  at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)
Exception has been thrown by the target of an invocation.
  at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
  at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  at Microsoft.Tools.WindowsInstallerXml.Build.Tasks.WixToolTask.ExecuteToolThread(Object parameters)


Daniel Doubrovkine

unread,
May 19, 2014, 10:59:29 AM5/19/14
to msi...@googlegroups.com
Looks like something with wix 3.8 .... I would start by helping us upgrade MsiExt itself to use Wix 3.8 and making sure all tests pass.


--
You received this message because you are subscribed to the Google Groups "msiext" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msiext+un...@googlegroups.com.
To post to this group, send email to msi...@googlegroups.com.
Visit this group at http://groups.google.com/group/msiext.
For more options, visit https://groups.google.com/d/optout.



--

dB. | Moscow - Geneva - Seattle - New York
code.dblock.org - @dblockdotorg - artsy.net - github/dblock

Reply all
Reply to author
Forward
0 new messages