11-02-2022 03:35 PM
I have a program that is pulling in a duplicate lvclass. It is not allowing me to delete it from the program. The sequence.lvclass under the nFuse LB is incorrect. It should only have the one under EOL Test classes. How do I delete the incorrect lvclass and remove it from the project?
Thank you.
11-03-2022 11:18 AM
Ah, the horrors of cross references! Fitting this time of year.
You've managed to link the wrong class (sometimes it's LVs fault), some tips:
R-click the offending class and Find callers. Replace/relink until clear.
Rename/zip/hide the offending class to force the other one to search/ask for the right one.
Sacrifice stuff to the old gods.
Cry.
11-03-2022 11:47 AM
The offending lvclass has been removed. When I click on it to find anything, it says "No items were found".
11-04-2022 12:00 PM
With LV closed, I manually delete the offending folder, open the ailing project and manually heal it. All the things that used to point to the wrong folder either heal themselves or I go and manually point it to the right folder.
To avoid this, I delete any projects on my computer that could have even a remote chance of having the same files in them. I can always get them from the repo when I'm ready to work on them again. This is my favorite way of making sure nothing points to the wrong place when I duplicate a project. And, in fact, this is a great way to discover previously unknown crosslinks.