Skip to content

net461 Invalid option '10.0' for /langversion. Use '/langversion:?' to list supported values. #34292

Closed
@Tratcher

Description

@Tratcher

Since the recent SDK update and the langversion being changed to 10, projects targeting net461 no longer compile in VS 2019 16.11.0p2.

Error	CS1617	Invalid option '10.0' for /langversion. Use '/langversion:?' to list supported values.	Microsoft.Extensions.Features (net461)	D:\github\AspNetCore\src\Http\Features\src\CSC

Should we make the langversion conditional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions