Re: [WiX-users] extension errror
Do you have a Class that inherits from WixExtension, and which has: (something like) public class YourExtension : WixExtension { private Library library; private YourCompiler compilerExtension; private TableDefinitionCollection tableDefinitions; public override CompilerExtension CompilerExtension { get { if (null == this.compilerExtension) { this.compilerExtension = new YourCompiler(); } return this.compilerExtension; } } public override TableDefinitionCollection TableDefinitions { get { if (null == this.tableDefinitions) { this.tableDefinitions = LoadTableDefinitionHelper(Assembly.GetExecutingAssembly(), "Your-defined-namespace.tables.xml"); } return this.tableDefinitions; } } public override Library GetLibrary(TableDefinitionCollection tableDefinitions) { if (null == this.library) { this.library = LoadLibraryHelper(Assembly.GetExecutingAssembly(), "Your-defined-namespace.Yourext.wixlib", tableDefinitions); } return this.library; } } } -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/extension-errror-tp7599319p7599320.html Sent from the wix-users mailing list archive at Nabble.com. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] extension errror
Ignore me. I had to restart my machine for unrelated reasons and it loaded ok on the reboot. Maybe some file lock, although I had tried from various loactions. Thanks. V. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/extension-errror-tp7599319p7599323.html Sent from the wix-users mailing list archive at Nabble.com. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] extension errror
Afternoon all. I am putting together my first Wix extension and I'm getting the following when adding the extension assembly into my Wix solution. error CNDL0307: The extension type 'TestVC.Compiler' in extension 'C:\vtemp\24022015\'TestVC.dll' does not inherit from the expected class 'Microsoft.Tools.WindowsInstallerXml.WixExtension'. But I already have an extension class inheriting from WixExtensions (and set in AssemblyInfo.cs as AssemblyDefaultWixExtension). Why is it identifying my compiler class that is inherting from CompierExtension as an extension class? Thanks, V. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/extension-errror-tp7599319.html Sent from the wix-users mailing list archive at Nabble.com. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] extension errror
Have all that. Have a reference in AssemblyInfo to the extension class [assembly: AssemblyDefaultWixExtension(typeof(MyExtensionClass))] Looking at the assembly in reflector (or JustDecompile) I can see the table definition (.xml) and the wix library (.wixlib) I am returning with those override methods in the Resources with the correct names. So I think I'm ok there. Thanks for your time. V. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/extension-errror-tp7599319p7599322.html Sent from the wix-users mailing list archive at Nabble.com. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users