Re: [WiX-users] extension errror

2015-02-25 Thread vcurran


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


Re: [WiX-users] extension errror

2015-02-25 Thread vcurran

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


Re: [WiX-users] extension errror

2015-02-25 Thread Phill Hogland
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