2023-11-15 02:16 AM
Hi GFX Team,
When I open MSVC file generated by GFX Designer in MSVC IDE and save it without any change, it is different from what GFX Designer generated. While it is just a space which is missing, the file is flagged by eg versioning tool.
Could you possibly add that extra space between quotation mark and forward slash at the end of self-closing tag please ?
And 2nd difference is an extra new/empty line at the end of the MSVC file
Thank you
Ferro
2023-11-20 05:52 AM
Hello @ferro
I tried to replicate the issue you mentioned, but I didn't face it, and I didn't fully understand how it is happening. When you open the generated project in any IDE (not just MSVC), it should stay intact if you do not apply any changes.
Can you elaborate more on how to replicate the issue?
Thanks
2023-11-21 08:59 AM
Hi @Mohammad MORADI ESFAHANIASL
Thank you for testing this on your side.
I think this is caused by changes in how MSVC IDE generated/stores its project files.
First I delete all files autogenerated by GFXDesigner:
Application.vcxproj.filters
Application.sln
Application.vcxproj
Then I generate them again.
When I open the Application.sln, my MSVC IDE asks me to convert project files to my version of tools (Version 16.11.27)
After pressing OK the spaces are added to Application.vcxproj as I showed in my initial post.
2023-11-28 04:46 AM
Hello @ferro ,
I tried it again, but still no changes. So, as you mentioned, the problem is most likely from MSVC. If it's possible for you, try it with another version of MSVC (specially, the newer ones).
Good luck
2023-11-28 05:54 AM - edited 2023-11-28 05:57 AM
Hi @Mohammad MORADI ESFAHANIASL
No problem. But interesting. Similar incompatibility is present with uVision project.uvprojx file.
GFX Designer adds closing tags and when I open the project.uvprojx with uVision IDE, those closing tags are removed. Obviously, there are some differences between how GFX designer generates XML files and uVision/MSVC. Maybe these discrepancies will dissapear over time.
Thanks
Ferro