Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instantiate TemplateGroupFile from URI expects local file path #128

Open
Brubning opened this issue May 19, 2020 · 0 comments
Open

Instantiate TemplateGroupFile from URI expects local file path #128

Brubning opened this issue May 19, 2020 · 0 comments

Comments

@Brubning
Copy link

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?

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

No branches or pull requests

1 participant