"CLR Via C#" -- Read Note Part 02
来源:互联网 发布:英文介绍淘宝网 编辑:程序博客网 时间:2024/05/01 13:22
Chapter 3 Shared Assemblies and Strongly Named Assemblies
1. Strongly Named Assembly
e.g.
"MyTypes, Version=1.0.8123.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
use /keyfile:<file> compiler switch:
csc /keyfile:MyCompany.snk Program.cs
Tool to generate public/private key pair.
SN.exe -k MyCompany.snk
First, you invoke SN.exe with the –p switch to
create a file that contains only the public key (MyCompany.PublicKey):
SN –p MyCompany.snk MyCompany.PublicKey
Then, you invoke SN.exe, passing it the –tp switch and the file that contains just the public
key:
SN –tp MyCompany.PublicKey
2. Global Assembly Cache (GAC)
You should never manually copy assembly files into GAC; instead, you should use tools to accomplish thsi task. These tools know the GAC's internal structure and how to generate the proper subdirectory names.
Tool: GACUtil.exe
Book Mark - Page 75
- "CLR Via C#" -- Read Note Part 02
- "CLR Via C#" -- Read Note Part 01
- 《CLR Via C#》
- CLR via c#------Introduction
- CLR Via C# Note--The CLR's execution mode
- 《CLR via C#:框架设计》读书笔记 - CLR
- Read the "clr via C#" of 基元类型,引用类型,值类型(第五章)
- CLR Via C#:Second Edition
- CLR via C#: 关于equals
- 框架结构(CLR Via C#)读书笔记
- read the "clr via C# " of 类型基础(第四章)
- CLR Via C#(云镜译本)
- CLR via C#: GetHashCode与Hashtable,Dictionary
- CLR via C#(第3 版)
- C#-好书推荐CLR via C#
- 《CLR via C#》读书笔记之:类型基础
- 学习笔记--CLR via c#--Chapter17 Delegate
- 推荐C++程序员阅读《CLR via C#》
- XAMPP learning
- IT人的学习方法论(全)
- flex 中弹出窗口模式的问题
- iPhone桌面快捷电话的实现原理
- 第二十三章、软件安装: RPM, SRPM 与 YUM 功能
- "CLR Via C#" -- Read Note Part 02
- Debian6下pptd的安装
- TLE
- 1.把二元查找树转变成排序的双向链表
- UC 杂记 05/19/2011 重温旧梦
- java 线程池与工作队列
- xming & putty
- UVa Problem 10258 Contest Scoreboard (比赛计分板)
- Oracle常见问题与解答