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
Sorry, but I can't make it work... whenever I add a "msgmerge:-N" parameter to PostBuild.exe, even using directly from command line, it allways gives me the same error, which I paste:
Ok, I have found what I might have been doing wrong...
I have found that the postbuild event to build the POT that is demonstrated in the readme file is not working correctly when using msgmerge parameters or gettext parameters. I copy it here for documentation purposes:
"$(TargetDir)i18n.PostBuild.exe" "$(ProjectDir)"
//using all available parameter:
// msgmerge: optional parameter for msgmerge
// gettext: optional parameter for gettext
// inputpaths: comma delimited input paths. Useful if the project is split in several sub projects. i.e. "inputpaths:C:\temp\Project1,C:\temp\Project2"
"$(TargetDir)i18n.PostBuild.exe" "$(ProjectDir)" "msgmerge:(optional params for msgmerge)" "gettext:(optional params for gettext)" "inputpaths:(comma delimited input paths)"
But if you use this:
"$(TargetDir)i18n.PostBuild.exe" "$(ProjectDir)\"
//using all available parameter:
// msgmerge: optional parameter for msgmerge
// gettext: optional parameter for gettext
// inputpaths: comma delimited input paths. Useful if the project is split in several sub projects. i.e. "inputpaths:C:\temp\Project1,C:\temp\Project2"
"$(TargetDir)i18n.PostBuild.exe" "$(ProjectDir)\" "msgmerge:(optional params for msgmerge)" "gettext:(optional params for gettext)" "inputpaths:(comma delimited input paths)"
Please, note the backslash after $(ProjectDir)... without it, this was what caused the problem.
Sorry, but I can't make it work... whenever I add a "msgmerge:-N" parameter to PostBuild.exe, even using directly from command line, it allways gives me the same error, which I paste:
This is the command I run:
And this is the exception thrown:
This happens with every project I have tried.
If I remove the "msgmerge-N" it all runs flawless
What I'm doing wrong?
The text was updated successfully, but these errors were encountered: