Devexpress 10.1.6 源代码重新编译成功(DXperience 10.1.6 重新编译)附所有需要用到的资源下载地址(建议现在编译用新版本方法编译)





1、 DXperience Universal-10.1.6安装包,这个是190多M的







解压密码: allcredits_JFX
解压密码: allcredits_JFX













How to Build Form Source Code?

1. Install the trial (download from the official website) Note: Install ALL parts of the setup, even if you do not need it
2. Now extract the sources (provided by our good friends here, bless them) to the {Install folder}\Components\Sources folder
(By sources I mean all the folders starting with DevExpress.{something}
3. Extract the build scripts (all the *.bat, *.cmd and the PatchInternalVisibleTo stuff) to the {Install folder}\Components\Sources folder
4. Now open defines.bat in some text editor like Notepad
5. Set the version of VS you are using first (in the vsver=vs2008 line)
6. Also, I like to set the configuration variable to Release instead of Debug
7. Path editing: The basic idea here is to verify that all paths mentioned in the file are valid for your system. eg. if you have Windows 32bit, the Programfiles32bit variable should point to c:\program files
8. Check all paths and make sure they are valid for your system. I found a few differences on mine :

  1. set sn="%ProgramFiles64bit%\Microsoft SDKs\Windows\v6.0A\Bin\sn.exe"
  2. should be
  3. set sn="%ProgramFiles64bit%\Microsoft SDKs\Windows\v7.0A\Bin\sn.exe"

and in vs2010 section

  1. set gacutil="%ProgramFiles32bit%\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64\gacutil.exe"
  2. should be
  3. set gacutil="%ProgramFiles32bit%\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\gacutil.exe"

9. The bottom of the file is divided into different sections for each version of VS. You only need to check the paths for the version of VS you have
10. If you have trouble finding the correct path for any variable, just search your c: drive for the file the path is referring.
11. Check your changes, save and close the file
12. Now open a command prompt and navigate to the {Install folder}\Components\Sources folder
13. Run clear.bat
14. Open the c:\windows\assembly folder
15. If you find any assemblies starting with DevExpress, remove them. If you have installed the IDE tools, there will be assemblies like DevExpress.DXCore, DevExpress.Refactor, DevExpress.CodeRush - do NOT remove them. I usually install the IDE tools after finishing with the components to avoid any confusion.
16. Open the {Install folder}\Components\Sources\DevExpress.DLL folder and delete any remaining files from it.
17. Ready to compile! In the command prompt window (the one used for running clear.bat) run buildall.cmd (and pray )
18. In the output, all yellow msgs are warnings and can be ignored. The red ones are errors. You might get a few of these (3/4) if you have not installed ASP.NET. Other than that, there should NOT be any errors.
If you get a lot of errors, something is probably wrong with the edits you made in the defines.bat. Stop the build, and recheck.
19. After successfully completing the build, run the ToolBox creator from the DevExpress group in the Start menu. Do NOT run ToolBoxCreator.exe directly.
20. In {Install folder}\Components\Sources folder there will be a file called PublicKeyToken.txt, open it in a text editor and copy the key to the clipboard.
21. Run the ProjectConverter tool from the Start menu, click the Show advanced options check box, past the public key in the Custom public key box
22. Point the Project folder to you solutions folder and convert all your projects.
23. Good to go!








posted on 2010-09-09 18:42  少明  阅读(15637)  评论(49编辑  收藏