Red Gate forums :: View topic - Obfuscated dll in SharpDevelop does not show code completion
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Obfuscated dll in SharpDevelop does not show code completion

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
CrazyMonkey01



Joined: 01 Jun 2011
Posts: 1

PostPosted: Thu Jun 02, 2011 12:35 am    Post subject: Obfuscated dll in SharpDevelop does not show code completion Reply with quote

We sell a commercial .net component (dll) that is obfuscated with SmartAssembly 6.

A customer contacted us regarding use in SharpDevelop 4. He is able to compile and run apps built in SharpDevelop.

However, in the SharpDevelop IDE, code completion/Intellisense does not work. After typing an object's instance name and a period, rather than popping up intellisense showing the component's interface, nothing happens. I confirmed this on my copy of SharpDevelop 4.

Using the same dll, I verified proper code completion/intellisense operation is Visual Studio versions 2005, 2008, and 2010 on the same PC.

I took it one step further and used the non-obfuscated build of our dll and found that code completion/intellisense started working in SharpDevelop.

Looking for some direction about how to diagnose, who to contact, etc.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6649

PostPosted: Fri Jun 03, 2011 11:01 am    Post subject: Reply with quote

From all appearance, SharpDevelop, unlike Visual Studio, uses Reflection to populate the code completion choices. Visual Studio uses XML documentation files, so Intellisense should continue to work with a protected assembly in its' IDE.

If the options used to protect the DLL include ones that will confuse Reflection, then there probably isn't anything you can do to make it work again. Since Reflection offers such a rich interface for reading assembly metadata, it's often the first step in referse-engineering an assembly, and this is exactly what SmartAssembly is trying to prevent.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group