Issues with Application/UI Template Generation
Hi.
Using TouchGFX 4.15.0, I've run into three issues related to Template packing/generation.
First Issue is that, following the information available at the Creating Application Templates, I was not able to successfully execute the process at all.
To test the procedure, I started with a TouchGFX-Designer generated project based of a Discovery board Application and simple UI Templeta
After running tgfx.exe to generate the initial .zip file and .json manifest, the .zip file is created, but then tgfx.exe fails as follows:
Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: input
at System.Version.Parse(String input)
at System.Version..ctor(String version)
at TouchGFXPackages.Implementation.CreateTouchGFXPackage.GetTgfxVersion()
at TouchGFXPackages.Implementation.CreateTouchGFXPackage.GetPackageUrl()
at TouchGFXPackages.Implementation.CreateTouchGFXPackage.CreateMetaData()
at TouchGFXPackages.Implementation.CreateTouchGFXPackage.CreateTgfxJsonPackage()
at TouchGFXDesignerCLI.Commands.Pack.PackExecutor.Create()
at TouchGFXDesignerCLI.Commands.Pack.PackExecutor.Run()
at TouchGFXDesignerCLI.Commands.Pack.PackCommand.Run(String[] remainingArguments)
at ManyConsole.ConsoleCommandDispatcher.DispatchCommand(IEnumerable`1 commands, String[] arguments, TextWriter consoleOut, Boolean skipExeInExpectedUsage)
at TouchGFXDesignerCLI.Program.Main(String[] args)
Signal 67To bypass this and generate a full application package, I opted to use TGFX 4.13.0 instead. With this I was able to generate a complete Application Template which I added to both TGFX 4.13.0 and 4.15.0.
The second issue is that the Application Template can't be used on TouchGFX Designer (either version). While it is detected in both, when tryin to generate the project the Designer fails with a "Downloading Application template failed, check your internet connection and try again".
This happens both with TGFX-Designer 4.13.0 and 4.15.0.
Third issue is that for UI Template generation I've not been able to find definite information on the online documentation.
However, Testing around I was able to generate a UI Template by changing the Type value from TGAT to TGUI on the .json manifest before packaging the .tpa file.
For this I wanted confirmation that this is the intended procedure, or if more changes are required to the json file to have a proper UI Template package.
Thank you and regards.
