Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: DotNetCoreCLI@2
Azure Pipelines (/ondfisk/C5/14
Hosted on Azure DevOps
I'm trying to build my .NET Standard 2.0 project with Azure pipelines,
```steps:
It was working perfectly until I added support for Nullable Reference Types checking and C# 8 in my solution .csproj file:
### Task logs
CSC : error CS1617: Invalid option '8.0' for /langversion. Use '/langversion:?' to list supported values. [d:\a\1\s\C5\C5.csproj]
Build FAILED.
CSC : error CS1617: Invalid option '8.0' for /langversion. Use '/langversion:?' to list supported values. [d:\a\1\s\C5\C5.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:01:45.50
```
Did you find a solution to this?
Yes, the solution came by adding
```steps:
Most helpful comment
Yes, the solution came by adding
```steps:
inputs:
packageType: 'sdk'
version: '3.0.100-preview3-010431'
displayName: Install .NET Core 3