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

"new TemplateGroupFile(fileName)" only works with full file path #73

Open
brikken opened this issue Jul 27, 2017 · 2 comments
Open

"new TemplateGroupFile(fileName)" only works with full file path #73

brikken opened this issue Jul 27, 2017 · 2 comments

Comments

@brikken
Copy link

brikken commented Jul 27, 2017

The constructor for a new template group, created from an .stg file, only works when a full path is supplied. A call like:
var stg = new TemplateGroupFile("Template.stg");
gives a System.UriFormatException

I suggest calling System.IO.Path.GetFullPath on the supplied filename, before creating the Uri.

@twoi
Copy link

twoi commented Feb 2, 2018

I just ran into the same issue, and created PR #93, which fixes this.

@twoi
Copy link

twoi commented Feb 5, 2018

Addressed by #87

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

Successfully merging a pull request may close this issue.

2 participants