DLL中的网站,需要访问代码 [英] website in DLL, need to access the code

查看:68
本文介绍了DLL中的网站,需要访问代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好:


我正在接管其他人的代码而我的用户遇到了大量的问题,但当我试图进入时要编辑的源代码并尝试修复这些问题,我意识到所有旧程序员的代码都在DLL中,所以我

无法从任何地方访问源代码。这真的成​​了一个问题。

所以..我的问题是双重的,有没有办法从DLL中提取代码

(可能不是),如果不,我有什么其他选择????


Visual Studio 2005

Asp.net 2.0

C#


谢谢你,Karina

解决方案

通常一个人从代码构建一个.dll(它也很常见)只有

出于各种原因部署.dll ... ...你没有源吗?


你可以做一些使用反射器的事情反转

设计dll(生成文件有一个插件)但你会丢失很多重要信息,如评论等。


最好的选择是获取源代码。


干杯,


Greg Young

MVP - C#
http:// codebetter。 com / blogs / gregyoung


" Karina" < Ka **** @ discussion.microsoft.com写信息

新闻:6A ************************ ********** @ microsof t.com ...


您好:


我是接管其他人的代码,我的用户遇到了大量的问题,但当我尝试进入源代码进行编辑并尝试修复

这些问题,我意识到所有旧程序员的代码都在DLL中,所以



无法从任何地方访问源代码。这真的成​​了一个问题。

所以......我的问题是双重的,有没有办法从

DLL中提取代码

(可能不是),如果没有,我有什么其他选择????


Visual Studio 2005

Asp.net 2.0

C#


谢谢你,Karina



Hello Greg,


旧程序员离开了,他删除了源代码并离开了DLL。

获取源代码,遗憾的是不是一个选项。


什么是反射器?我在哪里可以获得有关该选项的更多信息?


谢谢你,Karina


" Greg Young"写道:


一般来说,一个人从代码构建一个.dll(由于各种原因,只有

部署一个.dll也很常见) ...你没有源吗?


你可以做一些使用反射器来反转的事情

设计dll(有一个插件生成文件)但是你会错过很多重要的信息,例如评论等。


最好的选择是获取源代码。


干杯,

Greg Young

MVP - C#
http://codebetter.com/blogs/gregyoung


" Karina" ; < Ka **** @ discussion.microsoft.com写信息

新闻:6A ************************ ********** @ microsof t.com ...


您好:


我是接管其他人的代码,我的用户遇到了大量的问题,但当我尝试进入源代码进行编辑并尝试修复

这些问题,我意识到所有旧程序员的代码都在DLL中,所以



无法从任何地方访问源代码。这真的成​​了一个问题。

所以......我的问题是双重的,有没有办法从

DLL中提取代码

(可能不是),如果没有,我有什么其他选择????


Visual Studio 2005

Asp.net 2.0

C#


谢谢你,Karina



在处理任何事情之前,我会让公司进行某种

过程以防止这种情况发生。


反射器 http://www.aisto.com/roeder/dotnet/


你想要使用的插件是..
http://www.denisbauer.com/NETTools/F...assembler.aspx


干杯,


Greg Young

MVP - C#
http://codebetter.com/blogs/gregyoung


" Karina" < Ka **** @ discussion.microsoft.com写信息

新闻:EC ************************ ********** @ microsof t.com ...


Hello Greg,


老程序员离开了,他删除了源代码并离开了DLL。

获取源代码,遗憾的是不是一个选项。


什么是反射器 ;?我在哪里可以获得有关该选项的更多信息?


谢谢你,Karina


" Greg Young"写道:


>通常一个人从代码构建一个.dll(由于各种原因,仅部署.dll也很常见)。你没有源代码吗?

你可以做一些使用反射器来反转工程dll的工具(有一个插件生成文件)但是你会这样做缺少很多重要信息,如评论等。

最好的选择是获取源代码。

欢呼,

Greg年轻人
MVP - C#
http://codebetter.com/blogs/ gregyoung

Karina < Ka **** @ discussion.microsoft.com写信息
新闻:6A **************************** ****** @ microso ft.com ...


你好:


我正在接管其他人我的代码和我的用户正在经历大量的


问题,但当我尝试进入源代码编辑并尝试

修复

这些问题,我意识到所有旧程序员的代码都在DLL中

所以



无法从任何地方访问源代码。它真的变成了一个

的问题。

所以..我的问题是双重的,有没有办法从
$ b $中提取代码b DLL

(可能不是),如果没有,我有什么其他选择????


Visual Studio 2005

Asp.net 2.0

C#


谢谢你,Karina





Hello:

I am taking over someone else''s code and my users are experiencing tons of
problems but when I try to go into the source code to edit and try to fix
these problems, I realize that all the old programmer''s code is in DLLs so I
cannot access the source from anywhere. It''s really becoming a problem.
So..my question is twofold, is there a way to extract the code from the DLL
(probably not), if not, what are some other options I have????

Visual Studio 2005
Asp.net 2.0
C#

Thank you, Karina

解决方案

Generally one builds a .dll from code (it is also quite common to only
deploy a .dll for varying reasons)... do you not have the source?

You could do something along the lines of using reflector to reverse
engineer the dll (there is a plugin the generate files) but you would be
missing alot of important information such as comments etc.

The best option would be to get the source code.

Cheers,

Greg Young
MVP - C#
http://codebetter.com/blogs/gregyoung

"Karina" <Ka****@discussions.microsoft.comwrote in message
news:6A**********************************@microsof t.com...

Hello:

I am taking over someone else''s code and my users are experiencing tons of
problems but when I try to go into the source code to edit and try to fix
these problems, I realize that all the old programmer''s code is in DLLs so
I
cannot access the source from anywhere. It''s really becoming a problem.
So..my question is twofold, is there a way to extract the code from the
DLL
(probably not), if not, what are some other options I have????

Visual Studio 2005
Asp.net 2.0
C#

Thank you, Karina



Hello Greg,

The old programmer left and he deleted the source code and left the DLLs.
Getting the source code, unfortunately is NOT an option.

What is "reflector"? Where can I get more information on that option?

Thank YOU, Karina

"Greg Young" wrote:

Generally one builds a .dll from code (it is also quite common to only
deploy a .dll for varying reasons)... do you not have the source?

You could do something along the lines of using reflector to reverse
engineer the dll (there is a plugin the generate files) but you would be
missing alot of important information such as comments etc.

The best option would be to get the source code.

Cheers,

Greg Young
MVP - C#
http://codebetter.com/blogs/gregyoung

"Karina" <Ka****@discussions.microsoft.comwrote in message
news:6A**********************************@microsof t.com...

Hello:

I am taking over someone else''s code and my users are experiencing tons of
problems but when I try to go into the source code to edit and try to fix
these problems, I realize that all the old programmer''s code is in DLLs so
I
cannot access the source from anywhere. It''s really becoming a problem.
So..my question is twofold, is there a way to extract the code from the
DLL
(probably not), if not, what are some other options I have????

Visual Studio 2005
Asp.net 2.0
C#

Thank you, Karina




Before working on anything I would get the company to put in some sort of
process to keep this from happenning.

reflector http://www.aisto.com/roeder/dotnet/

The plugin you will want to use is ..
http://www.denisbauer.com/NETTools/F...assembler.aspx

Cheers,

Greg Young
MVP - C#
http://codebetter.com/blogs/gregyoung

"Karina" <Ka****@discussions.microsoft.comwrote in message
news:EC**********************************@microsof t.com...

Hello Greg,

The old programmer left and he deleted the source code and left the DLLs.
Getting the source code, unfortunately is NOT an option.

What is "reflector"? Where can I get more information on that option?

Thank YOU, Karina

"Greg Young" wrote:

>Generally one builds a .dll from code (it is also quite common to only
deploy a .dll for varying reasons)... do you not have the source?

You could do something along the lines of using reflector to reverse
engineer the dll (there is a plugin the generate files) but you would be
missing alot of important information such as comments etc.

The best option would be to get the source code.

Cheers,

Greg Young
MVP - C#
http://codebetter.com/blogs/gregyoung

"Karina" <Ka****@discussions.microsoft.comwrote in message
news:6A**********************************@microso ft.com...

Hello:

I am taking over someone else''s code and my users are experiencing tons
of
problems but when I try to go into the source code to edit and try to
fix
these problems, I realize that all the old programmer''s code is in DLLs
so
I
cannot access the source from anywhere. It''s really becoming a
problem.
So..my question is twofold, is there a way to extract the code from the
DLL
(probably not), if not, what are some other options I have????

Visual Studio 2005
Asp.net 2.0
C#

Thank you, Karina





这篇关于DLL中的网站,需要访问代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆