Method DownloadMediaStreamAsync error with UWP .Net Core
See original GitHub issueEverything works great except whenever I type this code I’m given an error saying that the class YoutubeClient does not contain an definition “DownloadMediaStreamAsync”. I tried earlier releases and found that the same thing happened and to more methods like “GetVideoAsync”.
await client.DownloadMediaStreamAsync(streamInfo, outputFilePath);
I’m using the latest version of .Net Core.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
SignalR Webhost with ASP.NET Core 2.1 and UWP app as ...
I was actually using the wrong NuGet Package. I want Microsoft.AspNetCore.SignalR.Client (note AspNetCore in the name and not AspNet ).
Read more >UWP App (x64) Microsoft.NET.CoreRuntime.2.2.appx ...
It resets all UWP apps on the system, but it seemed to fix the issue, where uninstalling and reinstalling the .NET Core SDK...
Read more >Problems using .NET Core with UWP?
This error can be solved easily by updating the package Microsoft.NETCore.UniversalWindowsPlatform to the version 5.2.2. You can do this either ...
Read more >Store Submission Error 1201 - Developer Community
I am having the same problem on 1/6/2020 with my first submission attempt of my UWP app (it uses Microsoft.NETCore.UniversalWindowsPlatform 6.2.
Read more >Intro to UWP (Universal Windows Platform) Apps in C# ...
Along the way, we will talk about when you would build a UWP app, ... NET Core 3.0 Desktop Apps - Creating and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Maybe it doesn’t support the full feature set of .net core. In that case you can still use
GetMediaStreamAsync
and save the stream manually.Also, I’m not sure what “.net core UWP” actually is because I was under the impression UWP is a separate platform, which can reference .net standard assemblies. Judging from this table, UWP v10 will target YoutubeExplode .net standard 1.1 version which doesn’t have the
Download...
methods. Apparently, if you somehow upgrade it to v10.0.16299, it should use the .net standard 2.0 version.