question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Method DownloadMediaStreamAsync error with UWP .Net Core

See original GitHub issue

Everything 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:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Tyrrrzcommented, Jan 13, 2018

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.

0reactions
Tyrrrzcommented, Jan 13, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found