惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
G
Google Developers Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
腾讯CDC
有赞技术团队
有赞技术团队
Vercel News
Vercel News
MongoDB | Blog
MongoDB | Blog
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
B
Blog RSS Feed
I
InfoQ
Blog — PlanetScale
Blog — PlanetScale
博客园_首页
The Cloudflare Blog
B
Blog
C
Check Point Blog
Stack Overflow Blog
Stack Overflow Blog
IT之家
IT之家
U
Unit 42
D
Docker
月光博客
月光博客
aimingoo的专栏
aimingoo的专栏
博客园 - Franky
A
About on SuperTechFans

博客园 - 蓝色飞翔

Exchange Server 2010 收发传真 强大的Exchange 动态邮件通讯组 在Exchange 服务器上查看当前在线人数 C# 建立AD帐号,设置下次登录修改密码 Office 2010 试用版可以直接激活为正式版。 Windows 7 企业版(90天试用版)可以直接激活为正式版..附激活过程 在XP下重装TCPIP协议? 发展改革委--吃屎。 英文不懂这些,弄错会很丢脸的 China GDP Microsoft 又出好東西了! Silverlight DataGrid(3) Silverlight DataGrid (2) Silverlight DataGrid(1) 网络负载平衡(NLB)详解 WF + Infopath(5)部署 - 蓝色飞翔 WF + Infopath(4)編碼 - 蓝色飞翔 WF + Infopath(3)設計InfoPath - 蓝色飞翔 WF + Infopath(2)設計工作流
把NOTES 部署到GAC中. - 蓝色飞翔 - 博客园
蓝色飞翔 · 2008-05-29 · via 博客园 - 蓝色飞翔

進入 " Visual Studio 2005 命令提示"

C:\Lotus\Notes>sn -k LotusNotes.snk

C:\Lotus\Notes>sn -p LotusNotes.snk LotusNotesPublic.snk

C:\Lotus\Notes>sn -t LotusNotesPublic.snk

C:\Lotus\Notes>tlbimp domobj.tlb /keyfile:Lotusnotes.snk

Microsoft (R) .NET Framework Type Library to Assembly Converter 2.0.50727.42

Copyright (C) Microsoft Corporation. All rights reserved.

Type library imported to Domino.dll

再把Domino.dll 拖到Windows\assembly (GAC) 目錄下.實現部署.

網站中要使用Notes 必須在Server 上進行以下權限設置:

  1. Lotus 目錄進行權限設定:

    Domain Users Users 加上寫的權限.

Tlbimp 命令

C:\Lotus>tlbimp

Microsoft (R) .NET Framework Type Library to Assembly Converter 2.0.50727.42

Copyright (C) Microsoft Corporation. All rights reserved.

Syntax: TlbImp TypeLibName [Options]

Options:

/out:FileName File name of assembly to be produced

/namespace:Namespace Namespace of the assembly to be produced

/asmversion:Version Version number of the assembly to be produced

/reference:FileName File name of assembly to use to resolve references

/tlbreference:FileName File name of typelib to use to resolve references

/publickey:FileName File containing strong name public key

/keyfile:FileName File containing strong name key pair

/keycontainer:FileName Key container holding strong name key pair

/delaysign Force strong name delay signing

/unsafe Produce interfaces without runtime security checks

/noclassmembers Prevents TlbImp from adding members to classes

/nologo Prevents TlbImp from displaying logo

/silent Suppresses all output except for errors

/verbose Displays extra information

/primary Produce a primary interop assembly

/sysarray Import SAFEARRAY as System.Array

/machine:MachineType Create an assembly for the specified machine type

/transform:TransformName Perform the specified transformation

/strictref Only use assemblies specified using /reference and

registered PIAs

/strictref:nopia Only use assemblies specified using /reference and

ignore PIAs

/? or /help Display this usage message

The assembly version must be specified as: Major.Minor.Build.Revision.

Multiple reference assemblies can be specified by using the /reference option

multiple times.

Supported machine types:

X86

X64

Itanium

Agnostic

Supported transforms:

SerializableValueClasses Mark all value classes as serializable

DispRet Apply the [out, retval] parameter transformation

to methods of disp only interfaces