Hi, Posting here in the forums so it can be used for future reference for somebody else experiencing the same problem
When I try to import a second library that’s depending on a library that’s already imported as a dependency an error is raised.
1. Start an empty project 2. Import the PN_Dev_Diag_2 library. This library depends on the AsynCom_5 library. Importing this library should cause no problems. 3. Import the CANbus_5 library. This library also depends on the AsynCom_5 library. Importing this library raises an error: "The library could not be added because a solution with the same id is already open".What I have tried:
* Reverse the order of importing the libraries
* Delete the dependency from the directory from the second library before importing it (in the example above this would mean deleting the file “C:\\Users\\Public\\Documents\\Phoenix Contact Libraries\\PLCnext Engineer\\CANbus_5\\AsynCom_5.pcwlx” before executing step #3)
* Copying the dependencies to make sure they are the exact same version
None of these steps help to solve the error. In the help file I read the following:Always use the current AsynCom library available on the Phoenix Contact website. Integrate both theAlways use the current AsynCom library available on the Phoenix Contact website. Integrate both thePN_Dev_Diag and the AsynCom library into your project. Make sure that the current AsynCom library is alsointegrated into the PN_Dev_Diag library. If the PN_Dev_Diag library cannot be transferred, even though the currentAsynCom library is integrated, check the path of the integrated library and change it if the path does not match thestorage location of the current library.
As far as I can see the stand-alone version available for download on the PLCnext Store is the same (5.0) version. The version of the IDE used is PLCnext Engineer 2019.0 LTS build 3.13.543.0