Foreword
We offer a set of build scripts to automate the rebuilding of our components from source code for those who have the dxperience enterprise or universal installed. the scripts (DOS batch files) are in the attached archives. please refer toReadme.txtDocument inside the archive for instructions. We still advise that you fully read this article to better understand the dependencies between our assemblies and the manual rebuild process.
Let's consider rebuilding the xtragrid for example.
To compile and install the xtragrid libraries you shoshould generate a strong key file, build libraries in a particle order registering every library prior to building the next one and finally update toolbox icons in your Visual Studio.
The component source files are installed in\ Program Files \ devexpress x \ Components \ sources \Directory by default where X is the dxperience version, e. g 2009.1, 2009.2, etc.
Before you start compiling the libraries you shoshould Delete the original devexpress DLLs. They are located in your\ Program Files \ devexpress x \ Components \ sources \ devexpress. dllFolder. Next, you shoshould Delete All devexpress. * entries in the Assembly Cache (C: \ windows \ assemblyHidden Folder ).
Assemblies must be signed with a strong key in order to be registered in the Assembly cache. we don't distribute our strongkey. SNK file-it's our signature. you will need to create a strong key yourself. please reviewSources \ devexpress. Key \ readme.txtDocument for basic instructions. You can learn more about strong keys from the msdn library.
Let's assume that it's needed to rebuild the xtragrid. The compilation order must be as follows:
Devexpress. Data *
Devexpress. utils *
Devexpress. xtraeditors **
Devexpress. xtranavbar ***
Devexpress. xtraeditors. Design
Devexpress. xtralayout ***
Devexpress. xtragrid
Devexpress. xtragrid. Design
----------
* Please do not rebuild devexpress. data and devexpress. utils, if you don't have the devexpress. xtranavbar source. the xtranavbar depends on these assemblies and you won't be able to use the former if the latter are rebuilt.
** Do not rebuild devexpress. xtraeditors, if you don't have the devexpress. xtralayout source. The xtralayout depends on this Assembly and it won't work, if the xtraeditors is rebuilt.
* ** The source of the devexpress. xtranavbar and devexpress. xtralayout assemblies is not supported in the xtragrid suite, but it's shipped with the xtranavbar and xtralayout control products sold separately. the xtranavbar is used in the xtragrid's designer (the devexpress. xtragrid. design assembly ). the xtralayout is used for one of the xtragrid's views, namely the layoutview.
You can use the Microsoft. NET Framework configuration console to register the assemblies in the Assembly Cache. Another way is to use Windows Explorer and drag-and-drop the DLLs fromSources \ devexpress. dllDirectory toC: \ windows \ assemblyHidden Folder.
Finally, it is necessary to update toolbox icons. Please launchToolboxcreatorTool fromStart | programs | developer express X | components | toolsMenu.
See also:
Component designers are unavailable. components are not displayed on forms in Design Mode
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 incluented?
Troubleshooting design-time problems
How to recompile the xaf source code
Download Links for compiling scripts of different versions
- V2006.1.zip (12237 bytes)
- V2006.2.zip (12462 bytes)
- V2006.3.zip (14316 bytes)
- V2007.1.zip (4069 bytes)
- V2007.2.zip (11583 bytes)
- V2007.3.zip (12201 bytes)
- V2008.1.zip (12356 bytes)
- V2008.2.zip (12065 bytes)
- V2008.3.zip (12366 bytes)
- V2009.1.zip (12494 bytes)
- V2009.2.zip (13164 bytes)
- V2009.3.zip (13694 bytes)
- V2010.1.zip (10030 bytes)
Source: http://www.devexpress.com/Support/Center/KB/p/A609.aspx