i have been building , rebuilding asp.net program.
i made horrible mistake, think, of copying published content folder developing.
so have unusual error when build code. says there duplicate definition in 1 file in temporary directory anohter file in temporary directory.
error 3
the type 'childeventhandler' exists in both 'c:\windows\microsoft.net\framework\v4.0.30319\temporary asp.net files...\b90cc7a4\28d266b\assembly\dl3\c4cf1ea3\b6e4b808_ef7cce01\app_code.dll' , 'c:\windows\microsoft.net\framework\v4.0.30319\temporary asp.net files...\b90cc7a4\28d266b\app_code.asx5jp5d.dll' c:\inetpub\wwwroot...\resources\usercontrols....ascx.cs 11 18 c:......\
i removed project , file names, of course, error says.
since error temporary files, should do?
i not see "clear" option in visual studio clear out files of compile.
this problem faced while compiling. go folder c:\windows\microsoft.net\framework\v4.0.30319\temporary asp.net files
, delete files , folder under it. when build application not hosted under iis, temporary debug files , folder created under folder.
it may happen access denied error while deleting them. close visual studio solution , delete under folder. resolve compilation error.
Comments
Post a Comment