Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Error: CS0433 and only have access to Deployment build

$
0
0
<div class="vote">0 down vote favorite</div>

I have the old Error: CS0433 problem of duplicate DLL references in the Temporary ASP.NET folder. I see all kinds of solutions if you have the original project file and dependent files. unfortunately, I have the VS 2003 deployment files (no classes, only DLL files), so I cannot just clear out the offending DLL and recompile. Here is the error message:

[(c:\inetpub\wwwroot\SLRSEIIS\applications\InfoSource.NET\SendMail\SendMail.aspx.cs(104): error CS0433: The type 'InfoSource.SendMailNonUser' exists in both 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\applications_infosource.net\df7c1927\1a473ea3\assembly\dl3\424f7c22\007022c7_37ebc701\InfoSource.DLL' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\applications_infosource.net\df7c1927\1a473ea3\App_Web_vn0tm0-y.dll')]

I have tried renaming the extra DLL file, but it just rebuilds the file again. I cannot add batch="false" to the web.config file, as it is not allowed because of the increase slowness.

I am assuming that there is a file somewhere telling it to reference the two DLL files. How do I change that reference and make it only use the InfoSource.DLL ? Remember, I do not have the Visual Studio files, just what was deployed to the production server.

Thank You in advance for your help.


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>