Skip to content

Instantiate TemplateGroupFile from URI expects local file path #128

@Brubning

Description

@Brubning

Loading a template group file using a URI (as below) is expecting a local file path and not a web address.

            var templateGroupFile = new TemplateGroupFile(
                templateGroupS3Uri,
                Encoding.Default,
                '$',
                '$');
            var mainTemplate = templateGroupFile.GetInstanceOf(mainTemplateName);

I store my .stg files in an AWS S3 bucket because local file storage is not always available. I thought that the URI parameter would allow remote URIs.

Could be that I'm missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions