Ticket Q272041
Visible to All Users

Install DevExpress Assemblies to the GAC

created 14 years ago

Hi -
how can i install the controls directly into the GAC of my server 2008R2 machine ? i am self hosting my web sites now, and i would like to bypass having to upload referenced dll's when i do a deploy.
by the way… i really, really like the new web site that you demoing in beta… pretty slick.
thanks
Jim

Answers approved by DevExpress Support

created 14 years ago (modified 13 years ago)

Hello Jim,
Thank you for contacting us. It's possible to install DevExpress assemblies to the GAC in the following manner:
Open the %\DevExpressInstallationPath\Components\Sources\DevExpress.DLL% directory and copy all required DevExpress assemblies onto the hosting server's folder:
    a) Open the folder that contains the copied assemblies;
    b) Run the "explorer C:\windows\assembly" command;
    c) Drag and drop the assemblies between the two windows.
Please refer to the How To Install .NET Assembly Into GAC On Windows Server 2008 MSDN blog for more information.
UPDATED:
Note that you cannot use our installation for this purpose since it includes Design libraries, which cannot be distributed according to the terms of our EULA. Thus, you need to manually deploy the necessary assembly files to the target server:
Deployment - General Information

    Show previous comments (2)

      don't work with V14.1

        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?
        Mike (DevExpress) 9 years ago

          Hello Ivan,

          To process your recent post more efficiently, I created a separate ticket on your behalf: T283449: Unable to install DevExpress assemblies to GAC .NET 4. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

          Other Answers

          created 11 years ago (modified 11 years ago)

          Here's a script I've been using.Just run the script during your setup after your setup has installed the files to your install folder.

            Show previous comments (2)

              Hello Dirk,

              To process your recent post more efficiently, I created a separate ticket on your behalf: T187527: Public Key Token for DevExpress Assemblies in version 14.2. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

                For .NET 4.0 you have to change the folder to c:\Windows\Microsoft.NET\assembly, so I did, but it still doesn't work for me

                Mike (DevExpress) 9 years ago

                  Hello,

                  To process your recent post more efficiently, I created a separate ticket on your behalf: T314585: DevExpress assemblies in GAC for .NET 4. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

                  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.