[MonoDevelop] No longer able to get debug information & Mono.Cecil error

berte brachmaier at amc-ds.de
Sun Apr 25 04:51:16 EDT 2010

OK - I found a way to get this to work.

The trick is to provide a second Mono.Cecil.dll which matches the one
requested from Mono.Debugger.Soft.dll. And it "must" be a second one, as one
of the MonoDevelop dlls needs the one which is already in the
"..\MonoDevelop\bin" path.

1. Compile the current Mono.Cecil version "" using VS2008 SP1. You
can download the Cecil sources from here:

2. Created a folder called "cecilex" under MonoDevelops bin path, which is
on my machine:
"C:\Program Files (x86)\MonoDevelop\bin\cecilex"

3. Copy the compiled Mono.Cecil.dll and Mono.Cecil.Mdb.dll into that

4. Change the MonoDevelop.exe.config file to look like this (new lines are

<?xml version="1.0" encoding="utf-8" ?>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="cecilex" />
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
				<assemblyIdentity name="ICSharpCode.SharpZipLib"
publicKeyToken="1b03e6acf1164f73" culture="neutral" />
				<bindingRedirect oldVersion="" newVersion=""/>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <assemblyIdentity name="Mono.Cecil"
publicKeyToken="0738eb9f132ed756" culture="neutral" />
        <bindingRedirect oldVersion="" newVersion=""/>
    </assemblyBinding>	</runtime>

That's it. But I'm not sure yet, if I get other problems with this solution.
But at least I can see debugging information.
View this message in context: http://mono.1490590.n4.nabble.com/No-longer-able-to-get-debug-information-Mono-Cecil-error-tp1837306p2064107.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.

More information about the Monodevelop-list mailing list