关于vs2005下发布网站的问题,急,在线等?
由于有些代码要修改,结果每次发布网站都会重新编译好几个新的dll文件,重新部署比以前的2003要麻烦很多。
而且有时会提示存在两个编译後的类文件,我尝试删除其中的一个dll文件,结果就提示错误找不到dll文件,具体错误提示如下:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0433: The type 'gklist' exists in both 'd:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gh\80aa1a66\34756dd6\assembly\dl3\fddfa986\90e5a681_e27bc701\App_Web_rtgzxul6.DLL' and 'd:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gh\80aa1a66\34756dd6\assembly\dl3\008e4078\306f6782_e27bc701\App_Web_2pfrtiov.DLL'
Source Error:
Line 122:
Line 123: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 124: public class gklist_aspx : global::gklist, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {
Line 125:
Line 126: private static bool @__initialized;
该怎么解决呢?