ThisAssembly.Resources #34
viceroypenguin
started this conversation in
Ideas
Replies: 2 comments 17 replies
-
I really like this idea. I guess the API cannot be property-based since you'd need to dispose the embedded resource stream after using them, right? |
Beta Was this translation helpful? Give feedback.
14 replies
-
It's a pity this topic (apparently) lost traction. @kzu are you still in for a PR? I'm currently standardizing on using |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Proposal: Add another project for exposing
string
andStream
versions of embedded resources. Accessing the resources is something necessary for most source generators, but also for many other projects; you're accessing embedded resources already in the other ThisAssembly.* projects. It would be nice to be able to have compile-time named access to the embedded resources. Thoughts?Beta Was this translation helpful? Give feedback.
All reactions