20 Apr 2008

使用AzMan找不到Microsoft.Interop.Security.AzRoles的解决方法

Share

在c:/Windows/system32下找到azRoles.dll

如果没有Xp/2003请安装http://www.microsoft.com/downloads/details.aspx?FamilyID=e487f885-f0c7-436a-a392-25793a25bad7&DisplayLang=en.

Win2000请安装http://www.microsoft.com/downloads/details.aspx?FamilyID=7edde11f-bcea-4773-a292-84525f23baf7&DisplayLang=en.

Vs2003/Vs2005/Vs2008命令行,或者Cmd命令行进入.net安装目录

敲入:

d:\Program Files\Microsoft Visual Studio 9.0\VC>tlbimp azroles.dll /out:Microsof

t.Interop.Security.AzRoles.dll /namespace:Microsoft.Interop.Security.AzRoles


成功提示:


Microsoft ® .NET Framework Type Library to Assembly Converter 3.5.21022.8

Copyright © Microsoft Corporation.  All rights reserved.


Type library imported to d:\Program Files\Microsoft Visual Studio 9.0\VC\Microso

ft.Interop.Security.AzRoles.dll




引用这个文件就OK了。


comments powered by Disqus