You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a project that requires generating .ico files as well as text files. Previously I used AddGeneratorTemplateFile to generate from a template, however with the new utf-8 validation this is no longer possible. AddCustomTemplateFile allows the file to be generated but the issue is that it is generated in the wrong directory. The output path is constantly returned as "." regardless of what the protoc parameters are set to.
The text was updated successfully, but these errors were encountered:
This is a limitation of protoc, where plugins are not given the output path from the execution (the value after the :). PG* supports setting a output_path param to override this behavior. So your protoc execution should look something like the following:
I am working on a project that requires generating .ico files as well as text files. Previously I used AddGeneratorTemplateFile to generate from a template, however with the new utf-8 validation this is no longer possible. AddCustomTemplateFile allows the file to be generated but the issue is that it is generated in the wrong directory. The output path is constantly returned as "." regardless of what the protoc parameters are set to.
The text was updated successfully, but these errors were encountered: