11-03-2023 02:30 PM
My TcXaeShell keeps hanging in "Preparing Solution..." state when I open the project via a CpS (5.8.1) export very often. I would even say it hangs 'always' since I started using CpS 5.8.1.
After killing TcXae via the task manager the export fails with the following error in CpS
When I open the PLC afterwards from CpS using PLC - right click - 'Open TwinCAT project' the solution is opened with the following error but I can run the export afterwards and it seems to work ok.
I am using Tc Build 4024.47. I also have TwinCAT XAE (VS2015) installed on my computer and I have CpS 5.6.2 opened quite often in parallel. Also I have object/peripheral updates quite often, they are marked "... has been changed and was reloaded automatically" after the second successful export attempt so they seem ok to me.
Is it only me (my laptop, my setup) having this issue? Is there a solution / workaround available?
Solved! Go to Solution.
11-03-2023 02:42 PM - edited 11-03-2023 03:12 PM
I think the dialog you see when opening the project also appears when running the export, but maybe in the background. Have you tried to use Alt+Tab to bring the dialog to the foreground?
The best way to get rid of this problem is to repair the solution so that no such message is displayed when opening it.
By the way: I am quite positive this behavior has nothing to do with the CpStudio version.
11-03-2023 05:19 PM
How can I repair a solution? Since I can open it manually the solution seems fine to me.
11-06-2023 11:05 AM
What I meant is that you should get rid of the error message about projects not being loaded correctly. This looks like something must be wrong, and if you fix this the export shouldn't hang anymore. Without having the project I cannot tell you exactly what the problem is.