How can we help you today? How can we help you today?
gunters
gunters wrote: .NET Reflector Pro build 381 (and older versions too) can't decompile a specific assembly for me here. It decompiles to about 54% and then throws an exception. I could reproduce the problem with a minimal test case. First i created a new solution with a Visual C# Smart Device Project. I made a class library targetting Windows CE for .Net Compact Framework Version 2.0. The class had the following source code: using System; using System.Collections.Generic; namespace Test1 { public class Class1 { public int Mul(int x, int y) { return x * y; } public string Now() { LinkedList<DateTime> t = new LinkedList<DateTime>(); t.AddFirst(DateTime.Now); return t.Last.ToString(); } } } I used LinkedList to force a reference to System assembly. I build the assembly and saved it to some other place. Then i created another solution, this time with a C# console project targeting desktop 2.0 .Net. I referenced the CF assembly built in the first step (Add reference, browse) and inserted the follwing code into Program.cs: class Program { static void Main(string[] args) { Test1.Class1 c = new Class1(); Console.WriteLine(c.Mul(3, 4)); Console.WriteLine(c.Now()); Console.ReadLine(); } } Then i selected "Coose assemblies to debug" from the Reflector menu. I checked the CF Test1 assembly built in the first step and now referenced from a desktop .Net project. And the decompilation choked with the same error as before, here is it again: System.IO.FileNotFoundException: Could not load the assembly System ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 4849, offset:107 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 7118, offset:49 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 5074, offset:162 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 6397, offset:80 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 8626, offset:115 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 5750, offset:78 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 9723, offset:582 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 9657, offset:4583 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 9658, offset:2081 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 9751, offset:267 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 9647, offset:707 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3936, offset:190 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3893, offset:32 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3934, offset:161 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3955, offset:37 --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- at ‘. / comments
gunters wrote: .NET Reflector Pro build 381 (and older versions too) can't decompile a specific assembly for me here. It decompiles to about 54% and then throws an exception. I could reproduce ...
0 votes
I installed it again in a new directory and did a fresh integrate into VS 2008 an the error went away. In the old installation a had lots of reflector addins, probably one of them broke the decompilation process in general. But when i get an decompilaton error (on special assemblies like described in my other post) i still get some garbage at the end of the stack trace: System.IO.FileNotFoundException: Could not load the assembly System ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 4849, offset:107 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 7118, offset:49 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 5074, offset:162 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 6397, offset:80 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 9292, offset:218 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 9290, offset:254 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 9283, offset:61 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3814, offset:150 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3794, offset:41 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3787, offset:722 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3918, offset:71 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3788, offset:26 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3787, offset:750 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3768, offset:54 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 9066, offset:41 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 9282, offset:44 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 9054, offset:603 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3936, offset:224 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3893, offset:32 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3934, offset:161 ---> SmartAssembly.SmartExceptionsCore.UnhandledException: SmartExceptionsCore.UnhandledException @ 3955, offset:37 --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- --- End of inner exception stack trace --- at ‘. / comments
I installed it again in a new directory and did a fresh integrate into VS 2008 an the error went away. In the old installation a had lots of reflector addins, probably one of them broke the decompi...
0 votes
It also crashes when i create a new empty windows forms project, so it seems it is a general problem. I hope the bug reports i sent help. Do you need any further information? Regards, Gunter / comments
It also crashes when i create a new empty windows forms project, so it seems it is a general problem. I hope the bug reports i sent help. Do you need any further information? Regards, Gunter
0 votes
Please make this high priority. The flickering and slowdown is so annoying that i disabled Reflector Pro for now. Probably others will do the same. There is also no going back to an older version. / comments
Please make this high priority. The flickering and slowdown is so annoying that i disabled Reflector Pro for now. Probably others will do the same. There is also no going back to an older version.
0 votes