[MonoDevelop] Getting the Smokey addin working.
Petit Eric
surfzoid at gmail.com
Thu Feb 12 08:56:50 EST 2009
I just see, the last MD trunk svn revision, seem to have a build in
smokey analyse, whitout installing anything else than MD and
Mono-tools, mono-addin, i have it in the right clik on project/tool
>analyse prjname", but seem broken or buggy, it give me :
Field 'Mono.CompilerServices.SymbolWriter.MethodEntry.LocalNamesAmbiguous'
not found.
exception stack trace:
at Smokey.Framework.Instructions.StoreLocal..ctor
(Smokey.Framework.SymbolTable symbols, Mono.Cecil.MethodDefinition
method, Mono.Cecil.Cil.Instruction untyped, Int32 index) [0x00000]
at Smokey.Framework.Instructions.TypedInstructionCollection.DoGetTyped
(Mono.Cecil.MethodDefinition method, Mono.Cecil.Cil.Instruction
untyped, Int32 index) [0x00000]
at Smokey.Framework.Instructions.TypedInstructionCollection..ctor
(Smokey.Framework.SymbolTable symbols, Mono.Cecil.MethodDefinition
method) [0x00000]
at Smokey.Framework.Support.MethodInfo..ctor
(Smokey.Framework.SymbolTable symbols, Mono.Cecil.TypeDefinition type,
Mono.Cecil.MethodDefinition method) [0x00000]
at Smokey.Framework.Support.AssemblyCache.DoAddMethods
(Smokey.Framework.SymbolTable symbols, Mono.Cecil.TypeDefinition type,
ICollection methods, System.Collections.Generic.List`1 ml) [0x00000]
at Smokey.Framework.Support.AssemblyCache..ctor
(Smokey.Framework.SymbolTable symbols, Mono.Cecil.AssemblyDefinition
assembly, Smokey.Framework.Support.KeepAliveCallback callback)
[0x00000]
at Smokey.App.AnalyzeAssembly.Analyze (System.String imagePath,
System.String[] onlyType, Severity severity, Boolean ignoreBreaks)
[0x00000]
at Smokey.Internal.Program.DoRun (Smokey.Internal.GetOptions
options) [0x00000]
at Smokey.Internal.Program.Main (System.String[] inArgs) [0x00000]
There were 2 errors!!!
2009/2/12 Oliver Stieber <oliver.stieber at ukplc.net>:
> The code for the add in comes with a copy of smokey.exe so I don't think
> there's a need to install smokey but I an try.
>
> The addin basically has one command with a standard and update method,
> which s derived from CommandHandler (I think). I also tried changing the
> base class to NodeCommandHandler but that didn't work. is there anything
> else that's needed to get an addin working could you tell me the
> differences between addins between versions 0.17.0 and 1.0.0
>
> -----Original Message-----
> From: Petit Eric [mailto:surfzoid at gmail.com]
> Sent: 12 February 2009 13:00
> To: Oliver Stieber
> Cc: monodevelop-list at lists.ximian.com
> Subject: Re: [MonoDevelop] Getting the Smokey addin working.
>
> yu spoke about this :
> http://code.google.com/p/smokeyaddin/
> did you install smokey before ? :
> http://code.google.com/p/smokey/
>
> 2009/2/12 Oliver Stieber <oliver.stieber at ukplc.net>:
>> Hi,
>> There's an addin for smokey that floating around on the web but
>> it's for version 0.17.0 of mono develop and doesn't work with 1.0.0 or
> I
>> assume the latest 2.0a. I've had a bit of a play around with it. I put
>> the addin.xml file in the assembly as a resource, I think I amended
> the
>> entries in the file (no default handler) and put some attributes on
> the
>> handlers Run and Update methods. After all this is still doesn't work
> so
>> there must be something I missing that's required to get addins
> working.
>> Can anyone assist me in getting this addin working. I'm quite happy to
>> document the process so there's some documentation on writing addins
> for
>> other people and I'm keen to write other addins or improve the smokey
>> one when I know how to write them.
>>
>> Thanks,
>> Oliver Stieber
>> _______________________________________________
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>
>
>
>
> --
>
> Cordially.
>
> Small Eric Quotations of the days:
> ------------------------------------------------------------------------
> ---
> If one day one reproaches you that your work is not a work of
> professional, say you that:
> Amateurs built the arch of Noah, and professionals the Titanic.
> ------------------------------------------------------------------------
> ---
>
> Few people are done for independence, it is the privilege of the
> powerful ones.
> ------------------------------------------------------------------------
> ---
>
> No key was wounded during the drafting of this message.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
--
Cordially.
Small Eric Quotations of the days:
---------------------------------------------------------------------------
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---------------------------------------------------------------------------
Few people are done for independence, it is the privilege of the powerful ones.
---------------------------------------------------------------------------
No key was wounded during the drafting of this message.
More information about the Monodevelop-list
mailing list