Question
Creating an TouchGFX Board Setup Fails
I'm trying to create a specific template for a custom board and following this stm link: https://support.touchgfx.com/docs/development/scenarios/scenarios-create-at
I get the following error right on the first command.
C:\Users\user\Desktop>C:/TouchGFX/4.24.0/designer/tgfx.exe pack -rc -d MyApplication
Executing pack (Packs up the TouchGFX application):
Unhandled exception. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\user\Desktop\MyApplication'.
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
at System.IO.Enumeration.FileSystemEnumerator`1.Init()
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
at System.IO.Enumeration.FileSystemEnumerableFactory.FileInfos(String directory, String expression, EnumerationOptions options, Boolean isNormalized)
at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at System.IO.DirectoryInfo.GetFiles(String searchPattern, EnumerationOptions enumerationOptions)
at TouchGFXPackages.Implementation.CreateTouchGFXPackage..ctor(String projectPath, String applicationTemplateVersion)
at TouchGFXDesignerCLI.Commands.Pack.PackExecutor..ctor(Boolean release, Boolean convert, String projectPath, String imagesPath, Boolean validate, Boolean upload, String deletePackageWithName, String server, String applicationTemplateVersion)
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)
