给XtraGrid玩了...

本文提供了XtraGrid源代码的详细编译步骤,包括生成密钥文件、按顺序编译组件并注册到Assembly Cache的方法。适用于希望深入了解XtraGrid内部实现的开发者。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

折腾了近两个小时才搞定XtraGrid的源代码的编译,得以跟进去调试。Goooogle一把,原来早有人写了相关的guide: http://www.cnblogs.com/fosoyo/archive/2006/08/19/481157.html

内容拷贝如下:
----------------------------------

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 installed. The scripts (DOS batch files) are in the attached archive. Please refer to the ReadMe.txt document in the attached 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 v6.1\Sources\ directory by default. Before you start to compile the libraries you should backup and delete the original DevExpress DLLs. They are located in your \Program Files\Developer Express .NET v6.1\Sources\DevExpress.DLL folder. Next, you should delete all entries which relate to the DevExpress products in the Assembly Cache (Control Panel | Administrative Tools | Microsoft .NET Framework Configuration).

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.

The compilation order must be as follows:
DevExpress.Utils*
DevExpress.Data
DevExpress.XtraEditors
DevExpress.XtraNavBar**
DevExpress.XtraEditors.Design
DevExpress.XtraGrid
DevExpress.XtraGrid.Design
----------
* Please do not rebuild DevExpress.Utils, if you don't have the DevExpress.XtraNavBar source. The XtraNavBar depends on DevExpress.Utils and you will not be able to use the former if the latter is rebuilt.
** The source of the DevExpress.XtraNavBar assembly is not included in the XtraGrid Suite, but is shipped with the XtraNavBar product sold separately.

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&drop the DLLs from the Sources\DevExpress.DLL directory to your 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 v6.1 | Tools menu.
----------------------
(附:/Files/rickiedu/DamnXtraGrid.rar

 

转载于:https://www.cnblogs.com/rickiedu/archive/2007/04/20/721187.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值