DXperience 8.3.2 源代码编译方法
2008-12-17 15:32
344 查看
这几天找到了DXperience的源代码,但是却不会编译,用VS 2008编译了老半天也没有搞定.
后来上官方网站找到了他提供的编译脚本.几分钟搞定.但是好像有些项目没有编译成功!看来还的继续学习.
下面是官方的说明,大家自己看吧.
http://www.devexpress.com/Support/Center/KB/p/A609.aspx
XtraGrid and other Developer Express .NET components
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 archive. Please refer to the ReadMe.txt document 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.
To compile and install the XtraGrid libraries you should generate a strong key file, build libraries in a particular 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 the "Program Files"Developer Express .NET vX.Y"Sources" directory by default where vX.Y is the DXperience version, e.g v6.1, v6.2, v6.3, v7.1, etc.
Before you start compiling the libraries you should delete the original DevExpress DLLs. They are located in your "Program Files"Developer Express .NET vX.Y"Sources"DevExpress.DLL folder. Next, you should delete all DevExpress.* entries in the Assembly Cache (the C:"WINDOWS"assembly hidden 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 review the Sources"DevExpress.Key"ReadMe.txt document 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 included 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 from the Sources"DevExpress.DLL directory to the C:"WINDOWS"assembly hidden folder.
Finally, it is necessary to update Toolbox icons. Please launch the ToolboxCreator tool from the Start | Programs | Developer Express .NET vX.Y | Tools menu.
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 documented?
Troubleshooting design-time problems
How to recompile XAF sources
后来上官方网站找到了他提供的编译脚本.几分钟搞定.但是好像有些项目没有编译成功!看来还的继续学习.
下面是官方的说明,大家自己看吧.
http://www.devexpress.com/Support/Center/KB/p/A609.aspx
How to rebuild assemblies from the source code
|
|
Description
How can I recompile the XtraGrid assemblies? I want to step into your code and trace it when debugging my applications.Solution
Applies to:XtraGrid and other Developer Express .NET components
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 archive. Please refer to the ReadMe.txt document 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.
To compile and install the XtraGrid libraries you should generate a strong key file, build libraries in a particular 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 the "Program Files"Developer Express .NET vX.Y"Sources" directory by default where vX.Y is the DXperience version, e.g v6.1, v6.2, v6.3, v7.1, etc.
Before you start compiling the libraries you should delete the original DevExpress DLLs. They are located in your "Program Files"Developer Express .NET vX.Y"Sources"DevExpress.DLL folder. Next, you should delete all DevExpress.* entries in the Assembly Cache (the C:"WINDOWS"assembly hidden 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 review the Sources"DevExpress.Key"ReadMe.txt document 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 included 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 from the Sources"DevExpress.DLL directory to the C:"WINDOWS"assembly hidden folder.
Finally, it is necessary to update Toolbox icons. Please launch the ToolboxCreator tool from the Start | Programs | Developer Express .NET vX.Y | Tools menu.
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 documented?
Troubleshooting design-time problems
How to recompile XAF sources
Attachments
BuildScripts.zip (97008 bytes)相关文章推荐
- Dxperience 8.3.2 重新编译版WebEditors无法正常运行的解决方法
- Devexpress 10.1.6 源代码重新编译成功(DXperience 10.1.6 重新编译)附所有需要用到的资源下载地址(建议现在编译用新版本方法编译)
- VS2010导入源代码方法以及编译中出现的错误修改
- Dxperience 8.1.1 source 源代码和编译脚本
- IPMSG飞鸽传书——编译源代码的方法
- Android的APK源代码在Android系统源代码下的编译方法
- DXperience重编译汉化的方法
- 反编译apk文件,得到其源代码的方法!
- Dxperience 8.1.2 source 源代码和编译脚本
- DXperience & eXpressAppFramework 8.2.3 重新编译版,源代码,破解,汉化
- Devexpress 10.1.6 源代码重新编译成功(DXperience 10.1.6 重新编译)附所有需要用到的资源下载地址 (收藏)
- detours2.1 VC6中编译方法及源代码及使用例子及编译好的BIN
- 反编译apk文件,得到其源代码和资源的方法
- XBMC源代码分析 1:整体结构以及编译方法
- 反编译apk文件,得到其源代码的方法
- 单独编译Android 源代码中的模块实现方法
- 反编译apk文件,得到其源代码的方法
- (他山之石)MFC学习之路(三)关于编译【windows核心编程】01-ShowError 源代码出错 ,解决方法!
- 反编译apk文件,得到其源代码的方法