How can I recompile the DevExpress assemblies?
If you are thinking of rebuilding our source code in order to debug our code, please consider using the PDB files we’ve provided ever since the v13.1 release. Please refer to the How can I debug DevExpress .NET source code using PDB filesKB article to learn how to download and include our PDB files for debugging.
If however you wish to recompile the DevExpress libraries for other valid reasons, you should use the DevExpress Source Code Builder Tool, which automates the building of the DevExpress .NET components from their source files. It supports the DevExpress .NET components from v12.2 onwards.
How it works:
The tool checks the registry to find which components are installed and validates the machine configuration. It then allows you to select the version of our components you need to rebuild. After pressing the “Build” button, the Source Code Builder Tool checks the source code folder of the DevExpress products to find a StrongKey (in the ..\Sources\DevExpress.Key\ folder). If the key doesn’t exist, it either allows you to select a key file or generate new random one. It then creates a build queue based upon project references and invokes MSBuild to rebuild the projects using several threads.
Note: The assemblies must be signed with a strong key, in order to be registered in the Global Assembly Cache (GAC). We do not distribute our strong key in any form - it's our digital signature.
If you need to rebuild only the DevExpress.Persistent.BaseImpl assembly (please review the eXpressApp Framework - Medium Trust Support article), follow the approach shown in the How to: Recompile the Devexpress.Persistent.BaseImpl.dll Assembly help article.
For building v18.2 and older:
- Visual Studio 2015, 2017 Community
- .NET Framework 4.7.2
- Following assemblies must be copied to the 'dlls' folder in the installation directory:
1. Microsoft.VisualStudio.ComponentModelHost.dll ( Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a )
2. Microsoft.VisualStudio.Shell.10.0.dll ( Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a )
3. Microsoft.VisualStudio.Shell.Design.dll ( Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a )
4. Microsoft.VisualStudio.Shell.dll ( Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a )
5. Microsoft.VisualStudio.Shell.Immutable.10.0.dll ( Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a )
6. Microsoft.Windows.Design.Extensibility.dll ( Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
7. Microsoft.Windows.Design.Interaction.dll ( Version=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a )
NOTE: These assemblies are part of Visual Studio 2010 installation and can be found in the Visual Studio 2010 installation folder. Note that you do not need to install Visual Studio 2010 to your machine, you need to create the 'dlls' folder in the DevExpress installation directory (the default path to the installation directory is "C:\Program Files (x86)\DevExpress 18.x\Components") and copy these assemblies into to it.
- If you are rebuilding DevExpress.MVC projects you need to install MVC3
For rebuilding v18.1 or older:
There are a few prerequisites needed to rebuild our source code:
- You will need to have the VS2010 Professional SP1 and VS2010 SDK installed in order to build the *.Designer assemblies and our XPF controls (download).
- .Net Framework 4.5 should be installed (download).
- Silverlight 5.0 SDK is required to rebuild our Silverlight controls (download).
- If you are rebuilding the DevExpress.ExpressApp.EF project within the XAF source code, open the Package Manager Console window for this project and install the Entity Framework 6.1.3 package via the "Install-Package EntityFramework -Version 6.1.3" command.
For building v18.2 and older:
Source Code Builder Tool
For building v18.1 and older:
Source Code Builder Tool ( 28,658 bytes, MD5 checksum: 1fc4777ecb9b5585243be9a51f43f35b)
If you are using DevExpress version 12.1 or older…
With these versions, you must use the build scripts to rebuild our source code. Please refer to the ReadMe.txt document inside the archive file the archive for instructions.
Component designers are unavailable at design time
How to fix the NullReferenceException when creating a component by dragging its icon from the Toolbox
Are the protected class members of your .NET controls documented?
Troubleshooting design-time problems
How to recompile the XAF source code
Show all comments