gendarme needs Mono.Cecil.Mdb.dll in order to have line number outputs

Bug #539598 reported by Zeno Gantner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mono-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

In order to have line number information (like the following), gendarme needs Mono.Cecil.Mdb.dll:

----
Problem: The method uses literal "" instead of String.Empty.
* Severity: Medium, Confidence: High
* Target: System.Void MyMediaProject.RecommenderSystem.Algorithms.Utils.EngineStorage::SaveModel(MyMediaProject.RecommenderSystem.Framework.EntityRelationAlgorithm.IEntityRelationEngine,System.String,System.String)
* Source: /home/mrg/MyMedia/trunk/WP4/Algorithms/Utils/EngineStorage.cs(≈27)
----

Currently, there is no dependency defined to a package that provides the mentioned .dll

In that case, the output looks like this:
----
Problem: The method uses literal "" instead of String.Empty.
* Severity: Medium, Confidence: High
* Target: System.Void MyMediaProject.RecommenderSystem.Algorithms.Utils.EngineStorage::LoadModel(MyMediaProject.RecommenderSystem.Framework.EntityRelationAlgorithm.IEntityRelationEngine,System.String,System.String)
* Source: debugging symbols unavailable, IL offset 0x0001
----

A quick fix is to use e.g. the .dll file included in the last version of MonoDevelop (which I take from their subversion repository):
sudo ln -s /usr/local/lib/monodevelop/bin/Mono.Cecil.Mdb.dll /usr/lib/gendarme

Best regards,
  Z.

ProblemType: Bug
Architecture: i386
Date: Tue Mar 16 14:58:29 2010
DistroRelease: Ubuntu 9.10
Package: gendarme 2.4.2-1ubuntu2
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=de_DE.UTF-8
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
SourcePackage: mono-tools
Uname: Linux 2.6.31-20-generic i686

Revision history for this message
Zeno Gantner (zeno-gantner) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.