Skip to content

Conversation

@smaillet
Copy link
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.
@github-actions
Copy link

github-actions bot commented Jan 11, 2026

Test Results

  8 files    8 suites   3s ⏱️
158 tests 154 ✅ 4 💤 0 ❌
289 runs  280 ✅ 9 💤 0 ❌

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...
@smaillet smaillet merged commit 0243ab3 into UbiquityDotNET:develop Jan 11, 2026
3 checks passed
@smaillet smaillet deleted the AddSourceGenerator branch January 11, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant