I found a mono.snk in /gtk-sharp, so I compiled to mcs/class. I think it 
works now, thank you so much!

The thread I found earlier 
(http://www.mail-archive.com/[email protected]/msg00943.html) says 
"You need to either get Mono.Cecil.Pdb from /cecil/pdb in Mono' svn. 
Mono.Cecil.Mdb is in /mcs/class/Mono.Cecil.Mdb, and of course,Mono.Cecil is 
in /mcs/class/Mono.Cecil."
But Mdb doesn't seem to hv any effect on the variable names?

I still have variables with default names (starting with CS$) assigned, so I 
guess it is cos they are just anonymous variables.

However why does "Console.WriteLine(a + " " + b + " " + c);" gives me an 
additional variable with the name CS$0000?


--------------------------------------------------
From: "Jb Evain" <[email protected]>
Sent: Sunday, October 04, 2009 11:27 PM
To: <[email protected]>
Subject: [mono-cecil] Re: System.NotSupportedException due to LoadSymbols();

>
> Hey,
>
> On 10/4/09, Wee Li Yen <[email protected]> wrote:
>> There is no Mono.Cecil.Pdb.dll in /cecil/pdb, I also can't compile the
>> Mono.Cecil.Pdb solution due to "........\Visual Studio
>> 2008\Projects\Mono.CompilerServices.SymbolStore\mcs\class\mono.snk'
>> -- The system cannot find the file specified".
>
> Just change whatever path specified to the .snk to pick the one that
> is in the Mono svn (mcs/class/mono.snk). And make sure you have a
> Mono.Cecil.Pdb.dll near Mono.Cecil.dll when you call LoadSymbols, and
> that the assembly you're reading has a pdb symbol file.
>
> -- 
> Jb Evain  <[email protected]>
>
> >
> 

--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to