Skip to content

Fix building the nativeaot project in VS - #121946

Merged
MichalStrehovsky merged 2 commits into
dotnet:mainfrom
MichalStrehovsky:bldnaotproject
Nov 25, 2025
Merged

MichalStrehovsky merged 2 commits into
dotnet:mainfrom
MichalStrehovsky:bldnaotproject

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

The build doesn't work unless VS knows about the generators in the SLNX.

Cc @dotnet/ilc-contrib

The build doesn't work unless VS knows about the generators in the SLNX.
Copilot AI review requested due to automatic review settings November 25, 2025 08:32
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 adds two missing generator projects to the nativeaot.slnx solution file to fix building the nativeaot project in Visual Studio. The changes ensure VS recognizes the EventSourceGenerator and DownlevelLibraryImportGenerator projects that are required for the build.

Key Changes:

  • Added EventSourceGenerator.csproj to the generators folder
  • Added DownlevelLibraryImportGenerator.csproj to the generators folder

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

Comment thread src/coreclr/nativeaot/nativeaot.slnx Resolved
Comment thread src/coreclr/nativeaot/nativeaot.slnx Resolved
Comment thread src/coreclr/nativeaot/nativeaot.slnx Resolved
@MichalStrehovsky

Copy link
Copy Markdown
Member Author

/ba-g osx brownout

@MichalStrehovsky
MichalStrehovsky merged commit 722de45 into dotnet:main Nov 25, 2025
@MichalStrehovsky
MichalStrehovsky deleted the bldnaotproject branch November 25, 2025 22:33
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants