Ticket T612159
Visible to All Users

Errors on a production server after converting from v15.2 to v17.2

created 7 years ago

[DevExpress Support Team: CLONED FROM Q288030: Can DevExpress products co-exist and be used on a single machine or project?]
Hi Team,
I am deploying the latest (v17.2) DevExpress assemblies into the GAC onto my production server, having converted one my we apps to v17.2 from v15.2 but now I am getting this issue.

CS0433: The type 'DevExpress.Web.ASPxHiddenField' exists in both 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\DevExpress.Web.v17.2\v4.0_17.2.3.0__b88d1754d700e49a\DevExpress.Web.v17.2.dll' and 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\DevExpress.Web.v15.2\v4.0_15.2.4.0__b88d1754d700e49a\DevExpress.Web.v15.2.dll'

I thought it was possible to run multiple major versions side by side ?
Can you help ?

Thanks,
Damien.

Answers approved by DevExpress Support

created 7 years ago

Hello Damien,

Yes, it is possible to have two different major versions side by side. The only requirements is to avoid two versions in the same project.
As for the issue, it looks like it is related to the fact that assemblies from different versions are located in the same project. I recommend you check your project and remove unnecessary assemblies and references (if they exist). Also, clear temporary ASP.NET files using the approach from the How to resolve issues after updating DevExpress controls: Type 'X' exists in both assemblies vs Type 'X' is ambiguous in namespace 'Y' KB article.
If this doesn't help, feel free to provide me with your sample project.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.