Resolving Error "The Type XXXXX exists in both XXXXXXX\aaaaa.DLL and YYYYYY\eeee.DLL in WAP

A

Anonieko

1. I created a web application project
2. I created web deployment project
3. When I build the deploy, it seems it is duplication the object in
assembly.

Sample error is....

Files\ardbatchentry
\6ecf9826\7b22b810\App_Web_progress.aspx.cdcab7d2.ayg8z-es.0.cs(118):
error CS0433: The type 'ppcentry.Progress' exists in both 'c:\WINDOWS
\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
\ardbatchentry\6ecf9826\7b22b810\assembly
\dl3\697656e3\38cda360_6987c701\ppcentry_deploy.DLL' and 'c:\WINDOWS
\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\ardbatchentry\6ecf9826\7b22b810\assembly\dl3\ff09673a
\dc303b13_6987c701\ppcentry.DLL'


I solved it by:

1. Removed the web deployment project
2. Right-clicking on the web application project , and telling
"Convert to Web Application".
3. Compiling again the web deployment project (using default options)
debug, etc.

Works now :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top