leavelllusion
leavelllusion

Reputation: 329

Build C# project from dll

I can view C# code from .NET ddl's with ILSpy. Are there any programs to build completed C# project from the dll?

P.S. I don't want to include dll to my existing project. I want to grab some code from dll and understand how it works. But it is harder to read code directly from reflector. I prefer to read code from Visual Studio and want to create "Class Library" project from dll.

Upvotes: 2

Views: 3906

Answers (2)

RaM
RaM

Reputation: 1107

If I understand you question right, You can create a complete project file including the code from a dll using Redgate's .Net Reflector

http://reflector.red-gate.com/download.aspx?TreatAsUpdate=1

There are other free products in the market including Telerik's JustDecompile I am not very sure about it!!

http://www.telerik.com/products/decompiling.aspx

Having said that, Redgate's .Net Reflector works fine when the DLL contains code which are fairly straight foreword, I did find it buggy when the DLL are referencing many other DLLs.

Upvotes: 2

SLaks
SLaks

Reputation: 888283

It sounds like you're looking for Reflector, which can decompile DLLs to complete C# projects.

Upvotes: 4

Related Questions