Current filter:
                                You should refresh the page.
                                  • Description:
                                    How can I recompile the DevExpress assemblies?

                                    Answer:
                                    Foreword:
                                    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.
                                    Description:
                                    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.

                                    Prerequisites:

                                    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=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
                                       7. Microsoft.Windows.Design.Interaction.dll ( Version=4.0.0.0, 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.

                                    Attachment:
                                    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.
                                    v2012.1
                                    v2011.2
                                    v2011.1
                                    v2010.2
                                    v2010.1
                                    v2009.3
                                    v2009.2
                                    v2009.1
                                    v2008.3
                                    v2008.2
                                    v2008.1
                                    v2007.3
                                    v2007.2
                                    v2007.1
                                    v2006.3
                                    v2006.2
                                    v2006.1

                                    See Also:
                                    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
                                • Larry Minton 08.28.2014

                                  Will there be a permanent link to the latest version of the build tool somewhere? It looks like the link above is to version 1000, in http://www.devexpress.com/Support/Center/Question/Details/T141066 there is a link to version 1001.

                                • Andrew L (DevExpress Support) 08.29.2014

                                  Hello Larry,

                                  Yes, the permanent link in this article references the newest version. I have fixed the problem with the incorrect number in the link and posted the updated version of the tool.

                                • Lukas Greguska 09.09.2014

                                  Hello Developer Express Team,
                                  After running your Source Code Builder Tool in result there is no file "DevExpress.Web.v14.1.dll" created, which is required in Sample Project - there is a definition in Web.config file:
                                  <add assembly="DevExpress.Web.v14.1, Version=14.1.6.0, Culture=neutral, PublicKeyToken=XXXXXXXXXXXXXXXX" />
                                  where XXXXXXXXXXXXXXXX is a snk generated during running your Source Code Builder Tool.

                                  Please tell us, how to generate "DevExpress.Web.v14.1.dll" file?

                                  Thank you in advance!
                                  Best regards,
                                  Lukas

                                • Alisher (DevExpress Support) 09.10.2014

                                  Hello,

                                  To process your recent post more efficiently, I created a separate ticket on your behalf: T149273: How to generate "DevExpress.Web.v14.1.dll file?. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

                                • Genaro Miranda 09.16.2014

                                  I am getting this error when running this tool:
                                  ************** Exception Text **************
                                  System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\DevExpress\DXperience 12.2\ToolboxCreator.exe' is denied.
                                    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
                                    at System.IO.File.InternalDelete(String path, Boolean checkHost)
                                    at SourceBuilderTool.ApplicationWorkflow.UpdateToolboxItems()
                                    at SourceBuilderTool.ApplicationWorkflow.FinalizingApplication()
                                    at SourceBuilderTool.BackgroundBuilderBuilder.IsAllAssembliesWereRebuilt()
                                    at SourceBuilderTool.BackgroundBuilderBuilder.worker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
                                  It is happening somewhere at the end of the process.

                                • Andrew L (DevExpress Support) 09.17.2014

                                  Hello,

                                  To process your recent post more efficiently, I created a separate ticket on your behalf: T151968: Issue with rebuilding 2012.2 sources. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

                                • CORPTAX Development 12.09.2014
                                  1. I have tried running the tool to rebuild source in debug mode. I ma getting attached message and i am not seeing Mvc assemblies in the bin\framework folder after rebuild. What am I missing?
                                  2. assuming i am able to rebuild the assemblies, how can i utilize them in my project? do i need to replace all DevEx assembly references to point to the newly built assemblies?
                                  thanks
                                • Andrew L (DevExpress Support) 12.10.2014

                                  Hello,

                                  To process your recent post more efficiently, I created a separate ticket on your behalf: T185411: Issue with rebuiling sources. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

                                • Martin Darilek 01.27.2015

                                  Hello DX Team,
                                  I have problems with building sources for DX 2014 vol 2.
                                  The project DevExpress.Xpf.PdfViewver.14.2.dll can not be built from source code due to missing reference to DevExpress.Docs.v14.2.dll. Please include source code to instalation package.
                                  Thanks
                                  Darilek M.

                                • Andrew L (DevExpress Support) 01.27.2015

                                  Hello Darilek,

                                  To process your recent post more efficiently, I created a separate ticket on your behalf: T201498: The DevExpress.Xpf.PdfViewer assembly could not be rebuilt with the DXperience subscription. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

                                • Basim Kadhim 05.22.2015

                                  I just tried using the SourceBuilderTool only to find out that it places the build result in the normal installed bin location, re-registers the toolbox, and re-registers assemblies in the GAC. Isn't there a way to build that just places the new binaries in a new location without completely messing up the current DevExpress installation?

                                • Andrew L (DevExpress Support) 05.25.2015

                                  Hello Basim,

                                  It is not possible with the current version of the tool, since it is necessary to put the re-built assemblies into GAC during the rebuilding process. I should also mention that it is not safe to have two assemblies with the same name and number in the GAC at the same time, since it may cause the "DLL hell" problem.
                                  You can use the SourceBuilderTool to rebuild the assemblies and then copy them and re-install our main installation.

                                • Justin Wood 1 01.15.2016

                                  Please update or provide different versions of Source Code Builder Tool that depend on newer versions of visual studio.

                                • Andrew L (DevExpress Support) 01.18.2016

                                  Hello Justin,

                                  At present, our controls support .NET Framework 4+.
                                  Some of our assemblies (Devexpress.Design for example) references certain VS core assemblies (e.g., Microsoft.VisualStudio.Shell).
                                  Our assemblies target .NET Framework 4.0 , but the assemblies shipped with VS2012 (and higher) target .NET Framework 4.5+ and thus cannot be used. So, it is necessary to install VS2010 to be able to rebuild our sources.

                                • Dominik S. 01.18.2016

                                  Hi Andrew,
                                  is the problem really the .Net Framework version? I think it is only the visual studio version isn't it?
                                  When VS2012 is requiered for your controls you can also build your source with VS2012 (and higher) i think.
                                  Are there plans to end the support of VS2010?
                                  Regards
                                  Dominik

                                • Andrew L (DevExpress Support) 01.19.2016

                                  Hello Dominik,

                                  At present, VS2010 is widely used, and thus there are no estimated time frames as to when it will not be supported.
                                  >is the problem really the .Net Framework version? I think it is only the visual studio version isn't it?
                                  These problems are related. Please take a look at my previous comment where I described this issue in detail.

                                • MDehghani 02.09.2016

                                  Hello .
                                  I got everything I could not to source Code and implement them.
                                  You can put a video tutorial here.
                                  Thanks.

                                • Andrew L (DevExpress Support) 02.10.2016

                                  Hello,

                                  To process your recent post more efficiently, I created a separate ticket on your behalf: T343944: Question about A609. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

                                • Bjoern Hack 07.11.2018

                                  I cannot install VS 2010 on top of VS 2017 :D
                                  Are there any plans to support newer versions of VS?

                                  Regards

                                • Alisher (DevExpress Support) 07.11.2018

                                  Hi Bjoern,

                                  Yes, we have plans to support newer Visual Studio versions. We will definitely update this KB or inform you through other channels once we have progress on this. Please watch for our announcements.

                                  Regards,
                                  Alisher

                                • Václav Jaroš 08.30.2018

                                  Hi, any news or estimation about newer Visual Studio support? Having issues with msbuild when trying to build DevExpress since latest VS 2017 and 2010 together on one machine.

                                • Alisher (DevExpress Support) 08.30.2018

                                  Hello,

                                  I've created a separate ticket on your behalf (T668718: Source Builder Tool - Estimation about newer Visual Studio support). It has been placed in our processing queue and will be answered shortly.

                                • Haraldur Sæmundsson 01.30.2019

                                  Is it possible to rebuild the SkinEditor.V2.exe?

                                  I am asking because after we rebuild the devexpress dlls from the source the SkinEditor.V2.exe can not be run and we need to run it in order to rebuild our skins so they can run with our rebuild.

                                • Oleg Sharkevich 01.30.2019

                                  Just copy original installed assemblies to "C:\Program Files (x86)\DevExpress 18.2\Components\Tools\Windows Forms" folder...

                                • ATLAS.ti GmbH 06.08.2019

                                  Hi. All this is nice, but please improve few things:

                                  1. Deliver the SourceBuildTool.exe as part of the sources! This way, we can be sure that when we get the sources, we'll always have the matching build tool.

                                  2. Create a Readme.txt in the root of the sources folder (not the one hidden in the DevExpress.Key folder).

                                  3. Improve the build tool to at least:
                                     a. Tell that it is going to build, where it is going to output artifacts and what other changes it is going to make.
                                     b. Let the user cancel if he's unhappy with the above.
                                     c. If possible, an option for the build tool not to make changes to the GAC and other system settings.
                                     d. There should be no reason for the build tool to need admin rights.

                                • Alisher (DevExpress Support) 06.09.2019

                                  Hello,

                                  I've created a separate ticket on your behalf (T748261: How to rebuild assemblies from the source code). It has been placed in our processing queue and will be answered shortly.

                                0 Solutions

                                Creation Date Importance Sort by