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

Build .NETCoreApp source gens in allconfigurations build #105247

Merged
merged 3 commits into from
Jul 23, 2024

Conversation

ViktorHofer
Copy link
Member

Fixes #100346

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jul 22, 2024
@@ -18,6 +18,7 @@

<ItemGroup Condition="'$(BuildTargetFramework)' != '$(NetCoreAppCurrent)' or '$(BuildTargetFramework)' == ''">
<ProjectReference Include="oob-all.proj" SkipGetTargetFrameworkProperties="true" />
<ProjectReference Include="oob-gen.proj" />
Copy link
Member

Choose a reason for hiding this comment

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

nit: this references all library generators, not just OOB ones. You could name it all-gen.proj.

Copy link
Member Author

Choose a reason for hiding this comment

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

It's the same with "oob-all.proj" which also references everything. I felt that it's better to follow the existing naming schema.

@ViktorHofer
Copy link
Member Author

Failure is correctly reported on both Windows and Unix in the allconfigurations leg. Reverting the code change now.

src/libraries/System.Text.RegularExpressions/gen/RegexGenerator.Emitter.cs(5629,9): error CS1585: (NETCORE_ENGINEERING_TELEMETRY=Build) Member modifier 'private' must precede the member type and name

@ViktorHofer ViktorHofer merged commit e2a3511 into main Jul 23, 2024
81 of 84 checks passed
@ViktorHofer ViktorHofer deleted the BuildNetCurrentSourceGensAlways branch July 23, 2024 07:25
@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

CI doesn't build net9.0 targets in source generators.
3 participants