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
Install DevExpress Assemblies to the GAC
Answers approved by DevExpress Support
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
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 …
- 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?
- 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\ - 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?
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
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.
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
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.