阅读:1680回复:1
请问这种错误怎么解决啊
<P>请问这种错误怎么解决啊</P>
<P> <P>提示:已多处定义…… 看起来很不爽,请问各位大侠 怎么解决啊?</P> [此贴子已经被作者于2006-9-14 10:12:40编辑过]
|
|
1楼#
发布于:2006-09-14 12:31
<P>网上找的一个解决方法</P>
<P>“I have come across it a couple of times. Usually if you have two dlls in your bin folder that contain the same thing. for example I renamed one of my dlls in the compile script but forgot to remove the old version. Check your bin folder and then head over to c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\ and clear it. ”<BR><BR>于是照着老外的方法,先将Temporary ASP.NET Files文件夹下的文件全部删除,然后再执行一次ASP.NET程序, 这时就可以查看该程序调用了哪些DLL文件。<BR><BR>我的原因是因为在编写过程中未将原先的旧版本DLL文件删除,结果导致class 重复定义。这时再去bin文件夹下查看,将旧版本DLL文件删除,问题得到解决。 </P> |
|
|