YoutubeExplode.DemoConsole using .NET Core Command Line Tool (2.1.519), (3.1.404) and .NET Command Line Tool (5.0.101) not working
See original GitHub issueHi,
If I go to the YoutubeExplode.DemoConsole folder (netcore2.1.519 installed on my system) and run
dotnet run
I get a bunch of errors. They all look related to YoutubeExplode using language sugar/constructs not supported by netcore2.1. E.g.
ReverseEngineering\Responses\PlayerResponse.cs(275,73): error CS8124: Tuple must contain at least two elements.
Channels\ChannelId.cs(98,81): error CS8124: Tuple must contain at least two elements.
Internal\Html.cs(8,61): error CS8124: Tuple must contain at least two elements.
ReverseEngineering\Responses\PlayerResponse.cs(275,73): error CS1026: ) expected
Internal\Html.cs(8,62): error CS1526: A new expression requires (), [], or {} after type
Internal\Extensions\AsyncEnumerableExtensions.cs(12,19): error CS1525: Invalid expression term 'foreach'
...
You state it works with netcore2.0+ so am I missing something?
Thank you
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Troubleshoot .NET tool usage issues
Could not execute because the specified command or file was not found. Possible reasons for this include: * You misspelled a built-in dotnet...
Read more >Unable to publish on command line using publish profile
I'm trying to automate the publishing of a .Net Core app on the Mac/Linux command line using the "dotnet" tool. No command I've...
Read more >No executable found matching command "dotnet-tool"
The dotnet tool command is only installed with the release of .NET Core SDK version 2.1.300 and later. You need to update your...
Read more >Using .NET Core Tools to Create Reusable and Shareable ...
Start by creating a .NET Core Console project. I'll use the dotnet Command line tooling, but you can also use Visual Studio (or...
Read more >Minimal March – Part 1: Getting Started with .NET and C# at ...
I can build and run .NET Core, Blazor, and ASP.NET Core applications in Linux all at the command line. There are so many...
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
Hi @Tyrrrz The rough experience started because I only have VS2017 on this machine. About the .NET 5.0 SDK not working for me… maybe it is my bad, while I think about it I may have forgotten to properly set
<TargetFrameworks>
as I was brute-forcing my way at some point.Thx for the feedback.
Hi @ohenley Sorry you had such a rough experience. Normally, it should work with just .NET 5.0 SDK. That said, the issues you mentioned in this comment seem weird. I can’t reproduce this locally, nor on CI (which also runs .NET 5.0 SDK).