【问题标题】:Error running sample Microsoft UCMA 4.0 sample in Visual Studio 2013在 Visual Studio 2013 中运行示例 Microsoft UCMA 4.0 示例时出错
【发布时间】:2016-05-17 12:48:44
【问题描述】:

我只想从 Visual Studio 2013 测试预构建的 Microsoft UCMA 4.0 快速入门示例应用程序。

如果我按开始,我会收到警告:

Warning 1   The primary reference "Microsoft.Rtc.Collaboration, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". RecorderSample

还有一堆错误,例如:

Error   3   The type or namespace name 'AudioVideo' does not exist in the namespace 'Microsoft.Rtc.Collaboration' (are you missing an assembly reference?)  C:\Program Files\Microsoft UCMA 4.0\SDK\Core\Sample Applications\QuickStarts\AudioVideoCall\Recorder\RecorderSample.cs  10  35  RecorderSample

我的电脑上有 .net framework 4.5.1

【问题讨论】:

    标签: visual-studio ucma


    【解决方案1】:

    我通过转到项目、项目属性、应用程序、目标框架并更改为 4.5.1 来解决

    【讨论】:

      猜你喜欢
      • 2014-11-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多