Skip to main content

The following will detail the situation. The copybook that is the offender is the Control.cpy under Form1 of the Load Score Sheet project and does not appear in this view.  The other uses of this copybook are normal.

 

By doing a search for the copybook it appears everywhere it should except for Form1 of the load score sheet project but yet the build uses the phantom.

 

 

If you look at the code you’ll see a copy for that copybook is noted out. That statement is a couple of lines below the where the phantom copybook exists. If you uncomment the copybook statement then you get duplicates. I’ve tried almost anything I can think of – removing all other copybooks and removing the location of copybooks. The phantom persists, all others are gone.  

 

 

 

 

 

 

 

The following will detail the situation. The copybook that is the offender is the Control.cpy under Form1 of the Load Score Sheet project and does not appear in this view.  The other uses of this copybook are normal.

 

By doing a search for the copybook it appears everywhere it should except for Form1 of the load score sheet project but yet the build uses the phantom.

 

 

If you look at the code you’ll see a copy for that copybook is noted out. That statement is a couple of lines below the where the phantom copybook exists. If you uncomment the copybook statement then you get duplicates. I’ve tried almost anything I can think of – removing all other copybooks and removing the location of copybooks. The phantom persists, all others are gone.  

 

 

 

 

 

 

 

John,

When a project is loaded for the first time a cache of the copybook dependencies is created and I suspect that that has not been correctly updated which is why you are seeing the old references. If you close Visual Studio, delete the file with the .DEP extension in each of the project folders and restart Visual Studio it will rebuild the dependencies and hopefully you should then see the correct references in the Solution Explorer.

I hope that helps,

Gael

The following will detail the situation. The copybook that is the offender is the Control.cpy under Form1 of the Load Score Sheet project and does not appear in this view.  The other uses of this copybook are normal.

 

By doing a search for the copybook it appears everywhere it should except for Form1 of the load score sheet project but yet the build uses the phantom.

 

 

If you look at the code you’ll see a copy for that copybook is noted out. That statement is a couple of lines below the where the phantom copybook exists. If you uncomment the copybook statement then you get duplicates. I’ve tried almost anything I can think of – removing all other copybooks and removing the location of copybooks. The phantom persists, all others are gone.  

 

 

 

 

 

 

 

Minutes after I posted this problem I realized the real problem - me. Somehow in coding a copylib I coded it inside another copylib (not difficult to do). Hense, it never showed up in any of the projects details.