How to: Recompile the Business Class Library 如何:重新编译业务类库
The eXpressApp Framework supplies the Business Class Library that consists of three assemblies.
eXpressApp 框架提供由三个程序集组成的业务类库。
Assembly 程序集 Description 描述
DevExpress.Persistent.BaseImpl.v19.2.dll Contains ready-to-use XPO persistent classes.
包含现成的 XPO 持久类。
DevExpress.Persistent.BaseImpl.EF.v19.2.dll Contains ready-to-use Entity Framework Code First classes.
包含即用型实体框架代码第一类。
DevExpress.Persistent.Base.v19.2.dll Contains interfaces and helper classes used in XAF Extra Modules. Classes implementing these interfaces are available in the two DevExpress.Persistent.BaseImpl.* assemblies listed above.
包含 XAF 额外模块中使用的接口和帮助器类。实现这些接口的类在上面列出的两个 DevExpress.持久.BaseImpl.* 程序集中可用。
You can modify and recompile an assembly with ready-to-use XPO or EF entities using the steps below.
您可以使用以下步骤修改和重新编译具有即用型 XPO 或 EF 实体的程序集。
Run the Visual Studio Command Prompt as an administrator and execute the Sn.exe (Strong Name Tool)utility with the following parameters.
- 以管理员身份运行 Visual Studio 命令提示符,并使用以下参数执行 Sn.exe(强名称工具)实用程序。
sn -k "%PROGRAMFILES(x86)%\DevExpress 19.2\Components\Sources\DevExpress.Key\StrongKey.snk"
This will create the strong name file (see Strong-Named Assemblies
这将创建强名称文件(请参阅强命名程序集
Navigate to one of the following folders.
导航到以下文件夹之一。
- %PROGRAMFILES(x86)%\DevExpress 19.2\Components\Sources\DevExpress.Persistent\DevExpress.Persistent.BaseImpl - if you use XPO.
- %PROGRAMFILES(x86)%\DevExpress 19.2\Components\Sources\DevExpress.Persistent\DevExpress.Persistent.BaseImpl.EF - if you use EF.
Open the DevExpress.Persistent.BaseImpl.csproj or DevExpress.Persistent.BaseImpl.EF.csproj project in Visual Studio.
在可视化工作室中打开 DevExpress.持久.BaseImpl.csproj 或 DevExpress.Base.Base.EF.csproj 项目。
- If you use EF, ensure that the EntityFramework.dll assembly is available. The project already includes a reference to this assembly, but you may need to provide the DLL file. You can download it from NuGet, or copy it from the EF Demo project (%PUBLIC%\Documents\DevExpress Demos 19.2\Components\eXpressApp Framework\EFDemoCodeFirstCS\EFDemo.Module\lib\EntityFramework.dll).
- 如果使用 EF,请确保实体框架.dll 程序集可用。该项目已包含对此程序集的引用,但您可能需要提供 DLL 文件。你可以从NuGet下载,或从EF演示项目复制它(%PUBLIC%\Documents\DevExpress Demos 19.2\Components\eXpressApp
- Modify any class from the opened project.
- 从打开的项目修改任何类。
Compile the project by clicking Rebuild in the context menu invoked for the solution. Once this rebuild is successful, the default assembly located in the %PROGRAMFILES(x86)%\DevExpress 19.2\Components\Bin\Framework folder will be replaced with the modified assembly.
通过单击为解决方案调用的上下文菜单中的"重建"来编译项目。此重建成功后,位于 %PROGRAMFILES(x86)%%_DevExpress 19.2_组件_Bin_框架文件夹中的默认程序集将替换为修改后的程序集。
Note 注意
- By default, the same path is used for XAF solution references. If you use an alternate path, copy the created DevExpress.Persistent.BaseImpl.v19.2.dll or DevExpress.Persistent.BaseImpl.EF.v19.2.dll assembly to the appropriate location.
- 默认情况下,相同的路径用于 XAF 解决方案引用。如果使用备用路径,请将创建的 DevExpress.持久.BaseImpl.v19.2.dll 或 DevExpress.持久.BaseImpl.v19.2.dll 程序集复制到适当的位置。
- Some XPO-only modules (Audit Trail, Clone Object, and Reports V2 Mobile have references to the DevExpress.Persistent.BaseImpl.v19.2.dll library. If you are using these modules in your application, they must be rebuilt too. Refer to the How to rebuild assemblies from the source code article for details.
- 某些仅限 XPO 的模块(审核跟踪、克隆对象和报告 V2 移动具有对 DevExpress.持久性.baseImpl.v19.2.dll 库的引用)。如果您在应用程序中使用这些模块,也必须重新生成这些模块。有关详细信息,请参阅源代码文章中的"如何重建程序集"。
How to: Recompile the Business Class Library 如何:重新编译业务类库的更多相关文章
- Inherit from the Business Class Library Class 继承自Business类(EF)
In this lesson, you will learn how to implement business classes for your application using the Busi ...
- Add a Class from the Business Class Library从业务类库添加类(EF)
In this lesson, you will learn how to use business classes from the Business Class Library as is. Fo ...
- Add a Class from the Business Class Library 从业务类库添加类 (XPO)
In this lesson, you will learn how to use business classes from the Business Class Library as is. Fo ...
- 关于T-SQL重编译那点事,WITH RECOMPILE和OPTION(RECOMPILE)区别仅仅是存储过程级重编译和SQL语句级重编译吗
本文出处:http://www.cnblogs.com/wy123/p/6262800.html 在考虑重编译T-SQL(或者存储过程)的时候,有两种方式可以实现强制重编译(前提是忽略导致重编译的 ...
- WITH RECOMPILE和OPTION(RECOMPILE)区别仅仅是存储过程级重编译和SQL语句级重编译吗
在考虑重编译T-SQL(或者存储过程)的时候,有两种方式可以实现强制重编译(前提是忽略导致重编译的其他因素的情况下,比如重建索引,更新统计信息等等), 一是基于WITH RECOMPILE的存储过程级 ...
- TensorFlow-Slim image classification library:TensorFlow-Slim 图像分类库
TensorFlow-Slim 图像分类库 TF-slim是用于定义,训练和评估复杂模型的TensorFlow(tensorflow.contrib.slim)的新型轻量级高级API. 该目录包含用于 ...
- Android 为库(library)创建不同编译环境
项目中需要导入库,一般有两种情况,一种是直接路径导入,一种是导入库的 aar 文件. 1. 设置库项目 1. 在库项目的 src 目录下设置 debug 目录,里面可以添加代码或者 res 文件夹. ...
- [C#] CSharp 基本语法
CSharp Language Specification 一.基础 1.规范: 除常量外,所有变量用驼峰命名方式,其它用帕斯卡命名方式. 2.编译: 首先由csc.exe将cs文件编译成MSIL.当 ...
- How to: Create a Business Model in the XPO Data Model Designer
How to: Create a Business Model in the XPO Data Model Designer This topic provides step-by-step inst ...
随机推荐
- Python正则表达式,看完这篇文章就够了...#华为云·寻找黑马程序员#【华为云技术分享】
版权声明:本文为博主原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明. 本文链接:https://blog.csdn.net/devcloud/article/detai ...
- Python-Excel 模块哪家强 #华为云·寻找黑马程序员#
python操作excel 最原始的莫过于两位老牌黄金搭档xlrd xlwt了,针对二者的封装有如下模块: xlutils & xlrd & xlwt 为什么把这三个一起说? 首先,x ...
- Oracle触发器用法--基础教学
1.触发器简介 触发器的定义就是说某个条件成立的时候,触发器里面所定义的语句就会被自动的执行.因此触发器不需要人为的去调用,也不能调用.然后,触发器的触发条件其实在你定义的时候就已经设定好了.这里面需 ...
- Java 从入门到进阶之路(十二)
在之前的文章我们介绍了一下 Java 类的重写及与重载的区别,本章我们来看一下 Java 类的 private,static,final. 我们在之前引入 Java 类概念的时候是通过商场收银台来引入 ...
- 简单http和https服务器python脚本
欢迎加入python学习交流群 667279387 工作经常要用到测试http和https协议,这里写了两个简单的脚本实现简单的http服务器和https服务器. http服务器代码 import s ...
- 伸展树(Splay tree)的基本操作与应用
伸展树的基本操作与应用 [伸展树的基本操作] 伸展树是二叉查找树的一种改进,与二叉查找树一样,伸展树也具有有序性.即伸展树中的每一个节点 x 都满足:该节点左子树中的每一个元素都小于 x,而其右子树中 ...
- 一份详细的 Matplotlib入门指导
hMatplotlib是最受欢迎的二维图形库,但有时我们很难做到得心应手的去使用. 如何更改图例上的标签名称? 如何设置刻度线? 如何将比例更改为对数? 如何在我的情节中添加注释和箭头? 如何在我的图 ...
- asp.net core 拦击器制作的权限管理系统DEMO
效果图 没有登陆不会执行请求日期的方法,不管是否登陆都不允许访问请求时间方法 验证不通过是会进行转发到Home/error方法中, 代码附上: [Route("[controller]/[a ...
- Net Core 基于AngleSharp的HTML转实体工具
最近这几天在采集一些房产信息网站的二手房产数据.采用的是.net core 2.2+AngleSharp做的,放在自己服务器上跑着玩.写着写着,发现好麻烦.原因如下 部分代码如下图 1.每个节点都要手 ...
- CCF-CSP题解 201703-3 Markdown
要求实现简易的Markdown到Html格式的转换. 主要就是字符串处理.以空行划分各个区块,区块内部字符的输出用一个\(print\_buf\)实现,至于强调和超链接的嵌套,则可以递归实现. 注意用 ...