Skip to content

Conversation

@pranavkm
Copy link
Contributor

The generated code for tag helpers is used all the way back in 3.1 which defaults to C# 8. Our code generation
currently produces a target-typed new expression that is available in C# 10.

Updating some of the older tests to pin the language to a fixed version so we can catch these kinds of regressions as part of tests.

Fixes #35554

The generated code for tag helpers is used all the way back in 3.1 which defaults to C# 8. Our code generation
currently produces a target-typed new expression that is available in C# 10.

Updating some of the older tests to pin the language to a fixed version so we can catch these kinds of regressions as part of tests.

Fixes #35554
@pranavkm pranavkm requested a review from Pilchie as a code owner August 24, 2021 23:54
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Aug 24, 2021
@pranavkm pranavkm requested review from a team and captainsafia August 24, 2021 23:54
@pranavkm pranavkm merged commit ab28a19 into main Aug 25, 2021
@pranavkm pranavkm deleted the prkrishn/35554 branch August 25, 2021 13:58
@ghost ghost added this to the 7.0-preview1 milestone Aug 25, 2021
@pranavkm
Copy link
Contributor Author

/backport to release/6.0

@github-actions
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Autogenerated code can't compile in VS preview version.

3 participants