cancel
Showing results for 
Search instead for 
Did you mean: 

Why my application acts normal if launched via touchGFX designer, but acts weird and crash with visual studio

Zui
Senior

I have this problem just today, my application works as intended if i start it vua TouchGFX designer, but if i start simulator from visual studio, it acts weird, like showing wrong images, and some buttons instead of changing screens leads to this error:0690X000009Yq1SQAS.png

1 REPLY 1

Hi @Zui​,

It seems that not all code generated by the Designer has been fully updated in Visual Studio.

Lets have a look at the post generate command used by TouchGFX Designer to update the Visual Studio project:

Open the .touchgfx file in any editor and locate the entry called PostGenerateCommand, to work correctly it should have a command in line with this:

"PostGenerateCommand": "touchgfx update_project --project-file=simulator/msvs/Application.vcxproj",

/Anders