Public bug reported:

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

** Affects: mono-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
gendarme needs Mono.Cecil.Mdb.dll in order to have line number outputs
https://bugs.launchpad.net/bugs/539598
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to