Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set <LangVersion> to preview #35121

Merged
merged 1 commit into from
Nov 18, 2024
Merged

Set <LangVersion> to preview #35121

merged 1 commit into from
Nov 18, 2024

Conversation

roji
Copy link
Member

@roji roji commented Nov 15, 2024

See #35100

In #35100, a C# language change caused a break in an EF scenario; if we want to detect this kind of thing early, we need to set our project's <LangVersion> to preview. This is similar to how we update our .NET SDK to use preview bits - basically just making sure we work with the latest state of everything.

This does have some potentially negative consequences: we may (inadvertently) introduce C# preview features into the codebase, which may later be reverted or changed.

I'll bring this to design to see what we think.

@roji roji merged commit 08b0689 into dotnet:main Nov 18, 2024
5 of 7 checks passed
@roji roji deleted the LangVersion branch November 18, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants