Skip to content

Conversation

@MichalStrehovsky
Copy link
Member

#121180 said this was internal, so we shouldn't include it in the ref pack.

#121180 said this was internal, so we shouldn't include it in the ref pack.
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jan 8, 2026
Copy link
Contributor

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

This PR removes EventSourceGenerator from the list of generators shipped in the .NET Core App reference pack, treating it as an internal-only tool as determined in issue #121180.

Key Changes

  • Remove EventSourceGenerator from the NetCoreAppLibraryGenerator list in NetCoreAppLibrary.props

@jkoritzinsky
Copy link
Member

Make sure to account for this in the VMR. When this was accidentally included, some EventSource types were adjusted to handle this generator being in the ref pack.

@MichalStrehovsky
Copy link
Member Author

Make sure to account for this in the VMR. When this was accidentally included, some EventSource types were adjusted to handle this generator being in the ref pack.

Looking at the dotnet/dotnet PR that integrated it, looks like the fallout was mostly about adding partial to classes and deleting a private constructor. This might just work out fine. We'll have some useless partial keywords, but those will be handy if this gets productized.

@MichalStrehovsky MichalStrehovsky merged commit 7a2016c into main Jan 8, 2026
87 of 92 checks passed
@MichalStrehovsky MichalStrehovsky deleted the MichalStrehovsky-patch-1 branch January 8, 2026 13:34
@ericstj
Copy link
Member

ericstj commented Jan 13, 2026

SDK has tests that were impacted. We'll need to undo those when this flows to SDK again.

FWIW this was packed as a language agnostic generator (with F# support too). Not sure if that was intended or not, most likely not. But if folks were to decide to ship this we'd need to correct the value of AnalyzerLanguage.

<AnalyzerLanguage>cs</AnalyzerLanguage>

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

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants