Unable to get sample wp8 project to run

Dec 20, 2013 at 2:03 AM
Hi,

Can anyone help me out with getting the SamplePlayer.WP8 to run. I've been getting many reference error.
Coordinator
Dec 20, 2013 at 10:41 AM
Check that your version of NuGet is current. If it is and you have automatic package restore enabled, then try running a restore on the command line.
Dec 20, 2013 at 2:33 PM
Hi henric,

now i have these errors:


Error 49 Argument 1: cannot convert from 'System.Action' to 'System.Func<System.Threading.Tasks.Task>' C:\Users\ash\Desktop\phonesm-b7e3c86bc9b74ce263fe6b0557498a8e9a0f688c\Source\Libraries\SM.Media\BufferingManager.cs 65 45 SM.Media

Error 57 Cannot implicitly convert type 'System.Net.ICredentials [c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETPortable\v4.5\Profile\Profile78\System.Net.Primitives.dll]' to 'System.Net.ICredentials' C:\Users\ash\Desktop\phonesm-b7e3c86bc9b74ce263fe6b0557498a8e9a0f688c\Source\Libraries\SM.Media\Web\HttpClients.cs 126 49 SM.Media


Error 37 Metadata file 'C:\Users\ash\Desktop\phonesm-b7e3c86bc9b74ce263fe6b0557498a8e9a0f688c\Source\Libraries\SM.Media.BackgroundAudioStreamingAgent.WP7\Bin\Debug\SM.Media.BackgroundAudioStreamingAgent.WP7.dll' could not be found C:\Users\ash\Desktop\phonesm-b7e3c86bc9b74ce263fe6b0557498a8e9a0f688c\Source\Phone\BackgroundAudio.Sample.WP7\CSC BackgroundAudio.Sample.WP7

Error 67 Argument 1: cannot convert from 'System.Action' to 'System.Func<System.Threading.Tasks.Task>' C:\Users\ash\Desktop\phonesm-b7e3c86bc9b74ce263fe6b0557498a8e9a0f688c\Source\Libraries\SM.Media\BufferingManager.cs 65 45 SM.Media

Error 66 The best overloaded method match for 'SM.Media.Utility.SignalTask.SignalTask(System.Func<System.Threading.Tasks.Task>, System.Threading.CancellationToken)' has some invalid arguments C:\Users\ash\Desktop\phonesm-b7e3c86bc9b74ce263fe6b0557498a8e9a0f688c\Source\Libraries\SM.Media\BufferingManager.cs 65 30 SM.Media

Error 58 The type 'System.Net.CookieContainer' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes'. C:\Users\ash\Desktop\phonesm-b7e3c86bc9b74ce263fe6b0557498a8e9a0f688c\Source\Libraries\SM.Media\Web\HttpClients.cs 129 17 SM.Media
Coordinator
Dec 20, 2013 at 4:03 PM
Looks like I forgot to check something in... just a sec...
Coordinator
Dec 20, 2013 at 4:10 PM
I think 7f5e934a837d should work better.