RazorEngine
RazorEngine copied to clipboard
EmbeddedResourceTemplateManager doesn't work with resources embedded by F# projects
This is due to the call to GetManifestResourceStream using a RootType, which forces a namespace to be used. F# projects embed resources as simply the name of the file, without a dot prefix.
The solution for this would be to provide a configuration option or property to use GetManifestResourceStream(string) instead of GetManifestResourceStream(Type, string).
Hi, a simple fix would be to be able to create an EmbeddedResourceTemplateManager without Type. Or null.
If null we call the GetManifestResourceStream( string) method