Ticket T283449
Visible to All Users

Unable to install DevExpress assemblies to GAC .NET 4

created 9 years ago

[DevExpress Support Team: CLONED FROM Q272041: Install DevExpress Assemblies to the GAC]
Hello Mike,
I have v.15.1 and I use Website Project. When the DexExpress assemblies are in the application  \bin folder on the prod. server (Windows Server 2008 R2), the site works.
As I will need more sites using DexExpress assemblies, I want to deploy all of them (excl. Design) to the GAC on the server.
But …

  1. under C:\windows\assembly there are multiple folders: GAC, GAC_32, GAC_64, GAC_MSIL, NativeImages_v4.0.30319_32, NativeImages_v4.0.30319_64…  In which of them our assemblies shall be copied?
  2. in these folders, the DLLs are not placed as I see them on my dev.PC :
    2.1 the DLLs are not in - in %\DevExpressInstallationPath\Components\Sources, but in %\DevExpressInstallationPath\Components\Bin\Framework\
  3. I decided to see my GAC on the dev.machine (Windows 7) and copy them in the same structure on the server.
    So I copied all FOLDERS starting with DevExpress*
    from c:\Windows\assembly\NativeImages_v4.0.30319_32\  (the developer PC)
    to c:\Windows\assembly\NativeImages_v4.0.30319_32\  (the server)
    and deleted the assemblies from the %application folder%\bin  on the server
    but I am getting this error:
    Could not load file or assembly 'DevExpress.Charts.v15.1.Core, Version=15.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' or one of its dependencies. The system cannot find the file specified.
    Can you help, please?

Answers approved by DevExpress Support

created 9 years ago

Hello Ivan,

Note that deploying runtime assemblies to the Bin folder is a normal way of delivering applications. So, it is not required to install these assemblies to the GAC.

Please refer to the KA18805: Why DevExpress assemblies are missing from GAC after installing DXperience version 13.1 and higher? KB Article regarding this subject. Please make sure that you correctly install assemblies (not just drag them to the associated GAC folder).

It is possible to collect all the required DLL files via the Assembly Deployment Tool.

    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.