c# - How do you allow two DLL's with same namespace.class to exist in the same application? -
Specifically, we are trying to upgrade our telecommunications controls in the latest version. Unfortunately, the old DLL has become so old that many control properties have changed so we have decided to upgrade only the teleological control which is giving us the problems (RadDeet Controller).
So bin looks something like this:
Radchrid.Net2.dll RadEditor.Net2.dll (We only want to get rid of this one) RadGrid. Net2.dll RadInput.Net2.dll RadPanelbar.Net2.d RadSpell.NET2.dll RadTabStrip.Net2.d RadToolbar.Net2.dl RadTreeView.Net2.dRadUpload.Net2.dll RadWindow.Net2.dll Telerik.Web.UI.dll ( This is a new DLL)
The problem is that all namespace and class are similar to the old DLL (the same as the new web site.
Here's the typical error I'm getting:
Compilation Error Description: An error occurred during the compilation of the resources needed to serve this request. Please review the following specific error details and modify your source code appropriately. Compiler error message: CS0433: 'Telerik.Charting.ChartSeries' type both' c: \ Windows \ Microsoft.NET \ Framework64 \ v2.0.50727 \ Temporary ASP.NET files \ root \ c6516654 \ 63e1c826 \ assembly \ dl3 \ 9aa96a66 \ 00ba04b3_fd85c701 \ RadChart.Net2.DLL 'and' c: \ Windows \ Microsoft.NET \ Framework 64 \ v2.0.50727 \ Temporary asp.NET files \ root \ c6516654 \ 63e1c826 \ assembly \ dl3 \ 8fdb0e6c \ 001aa55c_c4f9c901 \ Telerik.Web .u . DLL ''
I have accepted GAC in the new DLL but I am unsure that this will help the situation. Any help would be greatly appreciated.
You can use external alias (and) to differentiate between them Annoying, of course - obviously, where you can escape, but at least C # provides it in a way :)
Comments
Post a Comment