UCMA 4.0 - 使用 Microsoft.Rtc.Collaboration.Sample.Common 不存在

UCMA 4.0 - using Microsoft.Rtc.Collaboration.Sample.Common not existed

我是 Lync 的新手,目前正在使用 Lync UCMA 4.0 开发应用程序。但是当我添加引用 Microsoft.Rtc.Collaboration 并使用 Microsoft.Rtc.Collaboration.Sample.Common; 时发生错误:

The type of namespace 'Sample' does not exist in the namespace 'Microsoft.Rtc.Collaboration' (Are you missing an assembly reference?)

我添加了

Microsoft.Rtc.Collaboration

进入我的项目。

我猜你是在看一个例子,因为 Sample.Common 不是 Microsoft.Rtc.common 命名空间的成员。

Sample.Common 命名空间出现在许多 Microsoft 示例中,通常作为教程的一部分创建。

查看以下 Sample.Common 命名空间 https://msdn.microsoft.com/en-us/library/office/hh527753(v=office.14).aspx

中 UCMAHelper class 的代码清单