Gendarme 2.4 preview 3

12 views
Skip to first unread message

Sebastien Pouliot

unread,
Feb 15, 2009, 7:49:57 PM2/15/09
to Gendarme
Hello everyone,

The win32 installer and zipped binaries for _preview_ #3 of Gendarme
2.4 are now available at ohloh.net [1]. Don't look for preview #1 or
#2 as they were only available on Linux (via openSUSE build service)
but are otherwise identical to preview #3.

The Mono 2.4 release cycle was very short (compared to 2.0 and 2.2) so
don't expect a lot of changes, nor any performance work/optimization
in this release (I've been busy elsewhere too ;-). However it does
contains 12 new rules (for a total of 195) that need to be field
tested and all feedback will be useful in the next weeks (for 2.4) or
for the next release (2.6).

Thanks!
Sebastien

[1] https://www.ohloh.net/p/gendarme/download

Lex Li - MSFT

unread,
Feb 22, 2009, 7:13:18 AM2/22/09
to Gendarme
Hi Sebastien,

The GUI wizard in the ZIP version refuses to run on Windows 7 (well, I
guess it also fails on other Windows versions) and reports this
exception,

System.MissingMethodException was unhandled
Message="Method not found: 'Mono.Cecil.TypeDefinition
Mono.Cecil.MethodDefinition.get_DeclaringType()'."
Source="mscorlib"
StackTrace:
Server stack trace:
at Gendarme.Rules.Design.AvoidSmallNamespaceRule.CheckAssembly
(AssemblyDefinition assembly)
at Gendarme.Framework.Runner.OnAssembly(RunnerEventArgs e)
at Gendarme.GuiRunner.OnAssembly(RunnerEventArgs e)
at Gendarme.Framework.Runner.Run()
at Gendarme.Wizard.Analyze()
at
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage
(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage
(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper
(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object
NotUsed, MessageData& msgData)
at Gendarme.Wizard.MethodInvoker.EndInvoke(IAsyncResult result)
at
System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage
(IMessage msg)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage
(IMessage msg, IMessageSink replySink)
at
System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack
(Object o)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at
System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal
(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback
(Object state)
InnerException:

Seems like the Cecil bundled is not update to date.

Regards,

Lex

On Feb 16, 8:49 am, Sebastien Pouliot <sebastien.poul...@gmail.com>
wrote:

Lex Li - MSFT

unread,
Feb 22, 2009, 7:35:23 AM2/22/09
to Gendarme
Hi,

Me again. Just to let you know that the Win32 installer version runs
well.

-Lex

Sebastien Pouliot

unread,
Feb 23, 2009, 6:02:00 PM2/23/09
to gend...@googlegroups.com
Hello Lex,

On Sun, 2009-02-22 at 04:13 -0800, Lex Li - MSFT wrote:
> Hi Sebastien,
>
> The GUI wizard in the ZIP version refuses to run on Windows 7 (well, I
> guess it also fails on other Windows versions) and reports this
> exception,
>
> System.MissingMethodException was unhandled
> Message="Method not found: 'Mono.Cecil.TypeDefinition
> Mono.Cecil.MethodDefinition.get_DeclaringType()'."

I'll check this, it's possible that my script still referenced the Cecil
from the 2.2 branch, however it's a bit surprising
since AFAIK DeclaringType has always been part of TypeDefinition
(unless there's now one on TypeDefinition while there was only one in
TypeReference before ?).

Like you found this did not influence the win32 installer since it's
build on a different (windows) box while the ZIP is mainly built from my
(Linux) laptop.

Thanks for the report!
Sebastien
Reply all
Reply to author
Forward
0 new messages