Added Source generator support#23
Merged
Merged
Conversation
smaillet
commented
Jan 11, 2026
Member
- Added the source generator itself
- Added unit tests for the generator
- Basic golden path only at present.
- Added Generator attributes to `Ubiquity.NET.CommandLine
- Added Demo srcGen project to consume the package itself
- This verifies the build functions as packaged as it is possible to miss a dependency but still work in unit tests.
- Updated build scripts to build the demo app to test the packaging.
- Suppressed messages in shared source to silence bogus errors/warnings about "banned" types. The values retrieved through System.Environment are not environment variables but actual fixed things that are runtime specific for the analyzer itself. (Not the target runtime) While these APIs are often unused in a Roslyn component they are sometimes legit and are doing exactly as intended - the current runtime.
* Added the source generator itself
* Added unit tests for the generator
- Basic golden path only at present.
* Added Generator attributes to `Ubiquity.NET.CommandLine
* Added Demo srcGen project to consume the package itself
- This verifies the build functions as packaged as it is possible to miss a dependency but still work in unit tests.
* Updated build scripts to build the demo app to test the packaging.
* Suppressed messages in shared source to silence bogus errors/warnings about "banned" types. The values retrieved through System.Environment are not environment variables but actual fixed things that are runtime specific for the analyzer itself. (Not the target runtime) While these APIs are often unused in a Roslyn component they are sometimes legit and are doing exactly as intended - the current runtime.
Test Results 8 files 8 suites 3s ⏱️ Results for commit a847ad5. ♻️ This comment has been updated with latest results. |
…find the file...
- Automated builds are EXTREMELY difficult to debug when everything works fine locally..
- Apparently the copylocal and none options don't work on the automated build for reasons unknown...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.