2012-04-23 62 views
0

我想配置AzMan,但我有代碼問題。你能解釋一下我該怎麼做,因爲我不明白這些問題:AzMan C#錯誤

enter image description here enter image description here

與xml文件Active Directory中配置正確。

enter image description here

工作正確

enter image description here

回答

1

.NET 4.0允許主互操作程序集(或者更確切地說,它是您需要的位)嵌入到你的總成,使你不無需將它們與您的應用程序一起部署。

無論出於何種原因,此程序集都不能嵌入 - 但聽起來這對您來說不是問題。只需打開Visual Studio 2010中程序集的「屬性」選項卡,並將「嵌入Interop類型」設置爲「False」。

請參閱http://blogs.msdn.com/b/mshneer/archive/2009/12/07/interop-type-xxx-cannot-be-embedded-use-the-applicable-interface-instead.aspx

+0

Thx for your help – RPD 2012-04-23 19:36:35