Re: [Mono-list] Problem with Mono.Addins

2012-04-05 Thread Joonu
Ok, I figured it out. The 'Build Action' property of the xml manifests (*.addin.xml files) was set to 'Content'. They should be set to 'Embedded Resource'. For this, what you do is right click the xml manifests, click on properties, and in the properties box that comes up, select the 'Embedded

[Mono-list] Problem with Mono.Addins

2012-03-29 Thread Joonu
Hi, I am trying to run the sample HelloWorldWithManifest.sln program that is downloadable from monoaddins.codeplex.com But I don't get the desired result when I run it. When it comes to the line foreach (ICommand cmd in AddinManager.GetExtensionObjects (/Commands)) cmd.Run (); I get a

Re: [Mono-list] Problem with Mono.Addins

2012-03-29 Thread Alan
Hi, You need to clear an ExtensionPoint so that Extensions can use it. See http://www.mono-project.com/Introduction_to_Mono.Addins#A_simple_example Alan On 29 March 2012 16:51, Joonu joonu.tho...@polarisft.com wrote: Hi, I am trying to run the sample HelloWorldWithManifest.sln program that

Re: [Mono-list] Problem with Mono.Addins

2012-03-29 Thread Alan
Sorry, i meant to write 'declare'. There's a full working example in that url which describes exactly what to do. For testing purposes you can declare the extension point and extension in the same assembly. This should allow you to more easily test that everything is working as expected without