Skip to main content
Associate
June 22, 2026
Question

TouchGFX 4.26.0 and Visual Studio XML diff

  • June 22, 2026
  • 3 replies
  • 19 views

TouchGFX version: 4.26.0

Visual Studio version: 18.6.3

When TouchGFX generates or updates the “TouchGFX/simulator/msvs/Application.vcxproj” file it creates lines with

<ClCompile Include="path/to/some/file.cpp"/>

but Visual Studio updates the lines to 

<ClCompile Include="path/to/some/file.cpp" />

. Notice the extra space. This means that in version control sometimes commits will be added without the space and sometimes with the space. This overcomplicates merges and causes merge requests. Please update the XML library or fix the output to be consistent with Visual Studio.

3 replies

Associate
June 22, 2026

Suggestion to add the following tags to the system:

  • version control
  • git
  • Visual Studio
Andrew Neil
Super User
June 22, 2026

Suggestion to add the following tags to the system:

​​​​​​

By “the system” - do you mean this forum?

If so, Please raise that as a separate topic in the ‘Feedback’ forum

 

Edit:

It’s now been done - see:

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
ferro
Lead
June 23, 2026

ST did not know how to reproduce that error 2y ago. Maybe this time. 

“Application.vcxproj.filters” file is altered by GfxDesigner as well. I learned to remember to ‘Revert’ in Git.

 

 

 

 

Associate
June 24, 2026

Steps to reproduce:

  1. Start a new project
  2. Generate sources and open the project with Visual Studio (Application.sln).
  3. Right click in Solution Explorer on “Application” and select “Properties”.
  4. Change some property that has effect on “Application.vcxproj” (e.g. change C++ language standard) and apply the changes.
  5. Build → Build Application
  6. Open `Application.vcxproj` to verify the tags have a space before the closing bracket