GDS Port List Bug

Hello there,
I have created a PLCnextFirmwareLibrary in Visual Studio 2022 using PLCnext ToolChain 2024.0 LTS.
image.png
When I create a new Project in PLCnext Engineer (2024.0.4) and I import this library I get an error when trying to Rebuild the project.
PLCnextFirmwareLibrary:
image.pngPLCnextEngineer:
image.pngimage.pngimage.png
What I am trying to do is just connect a struct into a PLCnext Engineer Variable.
Any ideas why this is not working?

I created a similar project in C#, and didn’t have the same problem in PLCnext Engineer.
I then changed the Struct port definition in the C# project, rebuilt the C# project, added the new library to PLCnext Engineer, and the problem occurred.
I fixed the problem by disconnecting the Global variable port connection, deleting the Global variable, re-creating it using the same variable type, and re-connecting the ports.
I suspect that the Global variable kept the type from the original library, which wasn’t compatible with the type from the new library.
What happens when you disconnect the ports, delete the Global variable, re-create it, and reconnect it?

„I fixed the problem by disconnecting the Global variable port connection, deleting the Global variable, re-creating it using the same variable type, and re-connecting the ports.“
I followed exactly the steps above, and the problem reappears when I press „Rebuild“ on PLCnext Engineer. This is actually huge for me because I am in the middle of developing a big project for a customer and the tools have become unusable.
I have tried using other versions of the tools combined, but I am suddenly unable to develop projects using PLCnext.
-PLCnext Engineer Versions (2024.6, 2023.0, 2023.6)
-Visual Studio 2019, 2022
-ToolChain 2023.6, 2024.0 LTS
I would really appreciate some guidance on this.

Some extra info:
I have created a big project in the past using the same methodology which I followed from PLCnext documentation.
On the second big project I tried to develop having updated most of the tools above I did the following:

  1. Created a big C# Library with the files and code I needed.
  2. Created a big PLCnext Engineer project in which I defined similar variables which I wanted to connect to the C# Library.
    Then I discovered that the weird behaviour started happening when I tried to connect the C# Program to the Tasks and events on PLCnext Engineer. After exactly this, when I reopened the PLCnext Engineer Project all my variables had disappeared and some weird errors started showing. I can actually recreate this if it is needed. Now it seems like even in demo projects like the one I mentioned here I cannot even connect a simple struct without having errors.

I’ve been able to reproduce this behaviour with the sample project that you gave to my colleague in your local Phoenix Contact office a few weeks ago. This is currently with the PLCnext Engineer developers. Further updates will be given through your local Phoenix Contact office.