Zeugwerk/Twinpack

Add references not working if library title != library name

Closed this issue · 3 comments

If library title != library name there is an exception when trying to add the library, happens for the package "TwinCAT Dynamic Collection"

@fisothemes thanks for sharing you library with Twinpack. Unfortunately at the moment Twinpack has a this bug, but we will try to fix it

The Title of the plcproj should be changed by Twinpack so that name = title, but for this libraries this didn't work for some reason

public static void SyncPlcProj(ITcPlcIECProject2 plc, ConfigPlcProject plcConfig)

maybe we should just get rid of this limitation all together and allow to use a library title that is different from the name of the plcproj file

I'll see if I can change the title on the project and upload an updated version. Thanks for opening Twinpack for everyone to use

No need to change the title, it will be fixed with the next patch release (version > 0.2.10).
We can then have a title and a different name (see PR above)