开发者

Build C# project from dll

开发者 https://www.devze.com 2023-03-04 17:10 出处:网络
I can view C# code from .NET ddl\'s with ILSpy. Ar开发者_JAVA技巧e there any programs to build completed C# project from the dll?

I can view C# code from .NET ddl's with ILSpy. Ar开发者_JAVA技巧e 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.


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号