Skip to content

Conversation

@niekschoemaker
Copy link
Contributor

Fixes #36994

@niekschoemaker niekschoemaker requested a review from a team as a code owner October 17, 2025 14:54
Copy link
Member

@roji roji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM.

@roji roji requested a review from Copilot October 19, 2025 07:46
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds explicit handling of T4 template compilation errors after loading compiled templates to address issue #36994.

  • Invokes HandleErrors(host) after template compilation for entity types.
  • Invokes HandleErrors(host) after template compilation for configuration.

@roji roji enabled auto-merge (squash) October 19, 2025 07:46
@roji roji merged commit a025407 into dotnet:main Oct 19, 2025
7 checks passed
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.

Compilation errors in templates don't get reported but cause a NullReferenceException

2 participants