1 编译代码文件 operation.cs为operation.dll
2 sn.exe -k operation.snk //写入operation.exe密钥对
假设 operation.snk和operation.dll房子同一目录下
3 修改AssemblyInfo.cs文件 添加[assembly:AssemblyKeyFile("operation.snk")]
4 注册 regsvcs operation.dll
最后存在 operation.dll operation.exe operation.tlb 文件