Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试配置 AzMan,但我遇到了代码问题。你能解释一下我应该怎么做,因为我不明白这些问题:
带有正确配置的 xml 文件的 Active Directory。
工作正确
.NET 4.0 允许将主互操作程序集(或者更确切地说,您需要的部分)嵌入到您的程序集中,这样您就不需要将它们与您的应用程序一起部署。
无论出于何种原因,这个程序集都不能被嵌入——但这听起来对你来说不是问题。只需在 Visual Studio 2010 中打开程序集的“属性”选项卡并将“嵌入互操作类型”设置为“假”。
请参阅http://blogs.msdn.com/b/mshneer/archive/2009/12/07/interop-type-xxx-cannot-be-embedded-use-the-applicable-interface-instead.aspx