Open FoggyFinder opened 5 years ago
Making this work with Resource and EmbeddedResource makes sense - I'm open to making this change provided it's tested and backwards compatible.
Initially I've thought about just minimal changes - one additional condition for name checking
Right now it's neccessary to specify
LogicalName
forEmbeddedResource
like this:I think it will be better to allow user skip this step or at least make it clearly what's went wrong. Current exception message just suggest checking that file is marked as
Resource
.So, in function
getEmbeddedResourceStream
instead of:use