Posted
about 11 years
ago
by
[email protected]
(Cameron Yule)
I'm having the same issue, did you get any further with this Steve? I've managed to get Gendarme compiling on OS X by altering the common.make file to explicitly use the dmcs compiler - as opposed to mcs - as shown in the diff of the following
|
Posted
about 11 years
ago
by
[email protected]
(Pat B)
Hello, I'm using Gendarme 2.11 and get violations for the rule: ParameterNamesShouldMatchOverr iddenMethodRule. I found out, that the problem is, that the rule checks for the base class implementation of WPF control. The check will fail, because the implementation of System.Windows.FrameworkElemen t.DataContext will fail. The check is for
|
Posted
about 11 years
ago
by
[email protected]
(Ivan López)
Chek if your application has interop references. regards.
|
Posted
about 11 years
ago
by
[email protected]
(Steve Palmer)
OK, it appears that I already have /opt/local/lib/mono/4.0. So why isn't the make picking this up instead of using the one in 2.0? Specifically, how do I fix this to tell make to use 4.0?
|
Posted
about 11 years
ago
by
[email protected]
(Steve Palmer)
Ah, thanks! Macports told me I had the latest mono SDK. I'll see if I can find a newer one.
|
Posted
about 11 years
ago
by
[email protected]
(Sebastien Pouliot)
You are trying to build against /opt/local/lib/mono/2.0/mscorl ib.dll which does not have the API, e.g. Version.TryParse, that are new in .NET 4.0 (and which Gendarme requires).
|
Posted
about 11 years
ago
by
[email protected]
(Steve Palmer)
Hi, folks. I seem to have found a build issue with Gendarme under Mac OSX: /opt/local/bin/mcs -target:library -debug+ -d:TRACE -optimize+ -nowarn:1591 -warn:4 -warnaserror+ -nowarn:1591 -doc:../../bin/Gendarme.Rules. BadPractice.dll.doc \
|
Posted
about 11 years
ago
by
[email protected]
(Om Prakash Singh)
That is already done but still no luck
|
Posted
about 11 years
ago
by
[email protected]
(Ying Dong)
correction. I use gendarme 2.10, then tried 2.11 snapshot, same error.
|
Posted
about 11 years
ago
by
[email protected]
(Ying Dong)
*sonar 3.3 + **.NET Gendarme<[link]> * 2.0 * * *11:06:58.250 INFO .u.c.CommandExecutor - Executing command: C:\Program Files\SonarRunner\gendarme\gen darme.exe --config C:\BuildAgent2\work\d5f0da383a 81e716\Cougar2Migration-NET4.0 .br\Lehman.Cats.BarCapCredit\. sonar\sonar.Gendarme
|