2016-05-17 32 views
0

我只是想從Visual Studio 2013年錯誤運行示例Microsoft UCMA在Visual Studio 4.0樣本2013

測試預置的微軟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在我的電腦

回答

0

我解決了通過去項目,項目屬性,應用程序,目標框架和更改爲4.5.1

相關問題