Hi Greg,

 

Can you update to 16.3 or 16.3.1? I think 16.3 was the version release for .Net 
core 3 and C# 8.

 

Ed.

 

From: ozdotnet-boun...@ozdotnet.com <ozdotnet-boun...@ozdotnet.com> On Behalf 
Of Greg Keogh
Sent: Friday, 27 September 2019 2:18 PM
To: ozDotNet <ozdotnet@ozdotnet.com>
Subject: Core 3.0 and C# 8

 

Folks,

 

I'm keen to experiment with C# 8 features and get familiar early, but I can't 
get any project to use it. In Visual Studio 2019 16.2.3 I've tried to create 
Standard, Core and Framework projects of all the latest versions, then set the 
Build Advanced Language Version to 8 or preview, but it's never available.

 

I thought Core 3.0 projects could use C# 8, but the highest choice I have is 
2.2. So I installed 3.0 manually and dotnet --list shows me the following 
(truncated) as installed, but I never see 3.0 list in target frameworks.

 

>dotnet --list-runtimes
Microsoft.AspNetCore.App 3.0.0 [C:\Program 
Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.0.0 [C:\Program 
Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0 [C:\Program 
Files\dotnet\shared\Microsoft.WindowsDesktop.App]

>dotnet --list-sdks
3.0.100 [C:\Program Files\dotnet\sdk]

 

So I have two issues: (1) I can't pick Core 3.0 Framework (2) How on earth do I 
coax C# 8 into action?

 

Any advice would be most welcome. Perhaps there are really strict conditions or 
dependencies I'm not aware of.

 

Cheers,

Greg

 

P.S. Public holiday in Melbourne for some sort of ball game. A horse race I can 
understand, but this?

Reply via email to