返回

Devexpress 10.1.6 Devexpress编译及源代码是什么?Devexpress 10.1.6 Devexpress编译及源代码大全分享

时间:2016年12月23日 02:09评论:0

费了老大的劲,终于七拼八揍的,把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

这个是官方的链接如果失效的话,可以按文件名去别的地方下载。

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的,只下载了第一个就编译成功了(70左右M)。我用DEV时间还不长,不知道第二个包是做什么用的。

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

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文比较简单,翻译没什么意思,还是原汁原味吧。 步骤虽然看起来比较多,不过操作比较简单
反正我也是按照这个来的,最终是成功了,相信你也行的。

相关文章
猜你喜欢
用户评论