zoukankan      html  css  js  c++  java
  • ILMerge学习

    ILMerge

    Using ILMerge with v4.0

    ILMerge should work just fine with newer versions of .NET. Just use the option: /targetplatform:v4,<path to your v4 framework directory>. For version 3.5, you probably don't need to set the target platform, but you may need to add the v3.5 framework directory as a /lib option so that assemblies from there can be found. (Unless they're in the GAC in which case they'll be found anyway.)

    ILMerge is a utility that can be used to merge multiple .NET assemblies into a single assembly. It is freely available for use from the Tools & Utilities page at the Microsoft .NET Framework Developer Center.

    If you have any problems using it, please get in touch. (mbarnett _at_ microsoft _dot_ com)

    ILMerge takes a set of input assemblies and merges them into one target assembly. The first assembly in the list of input assemblies is the primary assembly. When the primary assembly is an executable, then the target assembly is created as an executable with the same entry point as the primary assembly. Also, if the primary assembly has a strong name, and a .snk file is provided, then the target assembly is re-signed with the specified key so that it also has a strong name.

    ILMerge is packaged as a console application. But all of its functionality is also available programmatically.

    There are several options that control the behavior of ILMerge. See the documentation that comes with the tool for details.

    The current version is 2.9.1118 (created on 18 November 2009). NOTE: There is no longer a version of ILMerge that runs in the v1.1 runtime.

    The v2.0 version of ILMerge runs in the v2.0 .NET Runtime, but it is also able to merge v1 or v1.1 assemblies. However, it can merge PDB files only for v2 (and later) assemblies.

    The v2 version of ILMerge was built with v2.0.50727 of the .NET Runtime. If you have an earlier version (e.g., Beta2 is v2.0.50215), then you need to use a config file: ILMerge.exe.config. (Copy the text from the browser and put into a file with that name. But check to see if you get any extraneous characters that the browser throws in. If so, please let me know and I'll see what I can do.)

    Currently, ILMerge works only on Windows-based platforms. It does not yet support Rotor or Mono.

    If you use ASP.NET v2.0, then it provides a tool (based on ILMerge) to combine assemblies created during precompilation. You can get more details from the ASP.NET web site.

    转自:http://research.microsoft.com/en-us/people/mbarnett/ILMerge.aspx

    ILMerge is a utility that can be used to merge multiple .NET assemblies into a single assembly. ILMerge takes a set of input assemblies and merges them into one target assembly. The first assembly in the list of input assemblies is the primary assembly. When the primary assembly is an executable, then the target assembly is created as an executable with the same entry point as the primary assembly. Also, if the primary assembly has a strong name, and a .snk file is provided, then the target assembly is re-signed with the specified key so that it also has a strong name.

    ILMerge is packaged as a console application. But all of its functionality is also available programmatically.

    There are several options that control the behavior of ILMerge. See the documentation that comes with the tool for details.

    ILMerge runs in the v2.0 .NET Runtime, but it is also able to merge v1 or v1.1 assemblies. However it can merge PDB files only for v2 assemblies.

     官方下载:http://www.microsoft.com/downloads/details.aspx?familyid=22914587-b4ad-4eae-87cf-b14ae6a939b0&displaylang=en

    本地:ILMerge安装

    相关主题内容:

    http://boxedapp.com/blog/2008/06/11/net-applications-how-to-hide-assembly-and-unmanaged-dlls/

    有博客园网友 将ILMerge做成WINFORM的小程序 很好用!

    下载地址:http://www.cnblogs.com/huangcong/archive/2010/03/29/1699904.html

  • 相关阅读:
    ps入门之photoshop文件操作-打开与存储认识 (PS界面介绍)如何新建文档(03)
    ps入门之ps的工作界面的认识学习(界面介绍)界面的组成(02)
    markdown编辑器Typora
    5FAE8F6F96C59ED1字体
    清除浮动float (:after方法)
    SQL中Truncate的用法
    复合索引
    RESTful API 设计指南
    两种js方法发起微信支付:WeixinJSBridge,wx.chooseWXPay区别
    nuxt.js 简述
  • 原文地址:https://www.cnblogs.com/wuhenke/p/1660343.html
Copyright © 2011-2022 走看看