dotnet / try

Try .NET provides developers and content authors with tools to create interactive experiences.
MIT License
2.85k stars 515 forks source link

New C# 8 Features Unusable on Try.Dot.NET #524

Open TheFanatr opened 4 years ago

TheFanatr commented 4 years ago

Describe the bug

On the Try .NET website, the new features introduced with C# 8 cannot be used.

Did this error occur while using dotnet try or online?

What kind of error was it?

Screenshots

image

Please complete the following:

BillWagner commented 4 years ago

This may be because of the changes in how the language version is configured. If the target framework isn't netcoreapp3.0, C# 8 is off by default.

mairaw commented 3 years ago

@jonsequitur what's the story for this issue? We got a similar feedback for our website recently: https://github.com/dotnet/website/issues/2385

I'm closing that one as duplicate of this.

jonsequitur commented 3 years ago

We're working on updates to Try .NET to bring it up to C# 9 and use the release version of Blazor WebAssembly. I'll post updates when we have a better sense of the timeline.