Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't require WixBalExtension when using WixNetFxExtension #4703

Closed
wixbot opened this issue Mar 14, 2015 · 3 comments
Closed

Don't require WixBalExtension when using WixNetFxExtension #4703

wixbot opened this issue Mar 14, 2015 · 3 comments
Assignees
Milestone

Comments

@wixbot
Copy link

wixbot commented Mar 14, 2015

When linking with the WixNetFxExtension and not the WixBalExtension, light throws the following error:

light.exe : error LGHT0182: Cannot find the table definitions for the 'WixMbaPrereqInformation' table.  This is likely due to a typing error or missing extension.  Please ensure all the necessary extensions are supplied on the command line with the -ext parameter.

The stack trace is:

at WixToolset.Data.TableDefinitionCollection.get_Item(String tableName) in src\libs\WixToolset.Data\TableDefinitionCollection.cs:line 71
at WixToolset.Data.Table.Read(XmlReader reader, Section section, TableDefinitionCollection tableDefinitions) in src\libs\WixToolset.Data\Table.cs:line 267
at WixToolset.Data.Section.Read(XmlReader reader, TableDefinitionCollection tableDefinitions) in src\libs\WixToolset.Data\Section.cs:line 175
at WixToolset.Data.Library.Read(XmlReader reader, TableDefinitionCollection tableDefinitions, Boolean suppressVersionCheck) in src\libs\WixToolset.Data\Library.cs:line 256
at WixToolset.Data.Library.Load(Stream stream, Uri uri, TableDefinitionCollection tableDefinitions, Boolean suppressVersionCheck) in src\libs\WixToolset.Data\Library.cs:line 132
at WixToolset.Extensibility.ExtensionData.LoadLibraryHelper(Assembly assembly, String resourceName, TableDefinitionCollection tableDefinitions) in src\libs\WixToolset.Extensibility\ExtensionData.cs:line 63
at WixToolset.Extensions.NetFxExtensionData.GetExtensionLibrary(TableDefinitionCollection tableDefinitions) in src\ext\NetFxExtension\wixext\NetFxExtensionData.cs:line 59
at WixToolset.Extensions.NetFxExtensionData.GetLibrary(TableDefinitionCollection tableDefinitions) in src\ext\NetFxExtension\wixext\NetFxExtensionData.cs:line 41
at WixToolset.Tools.Light.InitializeLocalization(TableDefinitionCollection tableDefinitions) in src\tools\light\light.cs:line 403
at WixToolset.Tools.Light.Run() in src\tools\light\light.cs:line 209
at WixToolset.Tools.Light.Execute(String[] args) in src\tools\light\light.cs:line 79

In 3.x, the Bal extension used magic variables to get its prereq table populated. In 4.0, the magic variables were replaced with attributes and these Bal attributes were added to the .NET packages in the NetFxExtension, which is why the WixBalExtension is now required.

This error is currently always thrown, it should only be thrown when actually using the .NET packages.

Originally opened by rseanhall

@wixbot
Copy link
Author

wixbot commented Mar 14, 2015

Pull request: 107

Originally posted by rseanhall

@wixbot
Copy link
Author

wixbot commented Mar 31, 2015

Pull request: 116

Originally posted by rseanhall

@wixbot
Copy link
Author

wixbot commented May 22, 2015

Originally changed by rseanhall
Area set to extensions
Resolution set to fixed
Status changed from Open to Resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants