-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] Convert resource utility build step to C# source generator #16629
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
base: trunk
Are you sure you want to change the base?
[dotnet] Convert resource utility build step to C# source generator #16629
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||
User description
Follow-up on 4c0eb7f#r171146028
🔗 Related Issues
💥 What does this PR do?
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Replaces build-time resource generation with C# source generator
Adds Microsoft.CodeAnalysis NuGet dependencies for code generation
Removes legacy
generated_resource_utilitiesBazel ruleIntegrates source generator into WebDriver compilation pipeline
Diagram Walkthrough
File Walkthrough
1 files
New incremental source generator for resource utilities7 files
Project file for source generator NuGet packageBazel build configuration for source generator libraryAnalyzer configuration for extended rules enforcementRemove generated_resource_utilities Bazel rule exportAdd source generator project to Visual Studio solutionReplace resource generation with source generator dependencyAdd source generator analyzer and AdditionalFiles references2 files
Add Microsoft.CodeAnalysis NuGet package dependenciesUpdate NuGet package definitions with CodeAnalysis packages