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

如果现在编译的话,推荐编译10.2.3版本,编译方法类同,编译以后至少解决了一个问题,就是编译成功以后工具箱不会出现问题。

10.2.3源代码的下载地址请到 shaoming01.download.csdn.net上面找找,我上传过了,编译脚本也在那里面。

 

费了老大的劲,终于七拼八揍的,把Devexpress编译所需的东西全部下载到手

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

下载地址:http://downloads.devexpress.com/63be3ab2-a882-4af8-bf95-6ee2ba8af6bb/64.237.51.130/DXperience/2010.1/6/DXperienceUniversal-10.1.6.exe

这个是官方的链接,必须使用迅雷下载

如果失效的话或者连接不上的话可以尝试着修改hosts文件,

把downloads.devexpress.com指向IP换成

64.237.51.154、64.237.51.155、64.237.51.156、64.237.51.157等(这个方法比较另类呵呵

如果实在不行也可以按文件名去别的地方下载。

 

2、源代码(最重要的东东了,我为找这个东西还真是翻山越岭,跋山涉水,辛苦啊。)

http://rapidshare.com/files/416091676/DX2010.1.6.Sources.rar.html
解压密码: allcredits_JFX
http://rapidshare.com/files/416119124/DXXAF2010.1.6.Sources.rar.html
解压密码: allcredits_JFX

我是搞Winform的,只下载了第一个就编译成功可以用了。我用DEV时间还不长,不知道第二个包是做什么用的。

 推荐使用一个叫JDownload的下载工具来下载,会比较快。

 

有很多朋友说下载不了,我只好辛苦一点,花了半天时间把源代码分成几个包上传到了CSDN上。

如果上面的链接不好下载的话可以到http://shaoming01.download.csdn.net/找到源代码的下载,一共有6个包,注意解压密码是shaoming

再备注一下,上传确实花了点工夫,所以收点下载分大家勿怪

 

3、编译脚本,这东东,我真在网上找了大半天,找到最后我这个烂英语估计也能过四级了(E文资料看得太多了)

 最终我是用10.1.4版本的编译脚本来编译的,我估计10.1版本的编译包应该都是通用的吧。猜的哦

 下载地址:http://files.cnblogs.com/shaoming01/Devexpress_10.1.4(10.1.5%2c10.1.6)_%e7%bc%96%e8%af%91%e8%84%9a%e6%9c%ac_Build_Scripts.rar

 

以上就是要准备的材料,都准备好了,那就按照下面的步骤一步一步来吧。

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!

 

上面的E文比较简单,翻译没什么意思,还是原汁原味吧。

步骤虽然看起来比较多,不过操作比较简单

反正我也是按照这个来的,最终是成功了,相信你也行的。

 

重新编译了源程序以后,所有的DEMO应该也运行不了,需要重新生成我制作了一个生成脚本

下载地址:http://www.cnblogs.com/shaoming01/archive/2010/09/10/devexpress_ReBuild_ALL_DEMOS.html

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

导航

公告