Hi Patrick,
First, let me mention that I don't know why this is a thing and I agree with you that it's odd. But, it seems that function references in the Global Code can actually point to Code Stages across the VBO. This blew my mind when I realized it, but I guess it makes a kind of sense. Notice that the Code Stage 'Create Instance' on the page 'Create Instance' has a space in it. The function reference in the global code has an underscore so that it is valid in the VB.NET code: 'Create_Instance()'.
There are two ways to fix the issue. One, you could delete all the global code that is interdependent, surrounding that function. This is what I did because in our Wrapper objects, we aren't using any of the global code. Or Two, you could put the code stage back for 'Create Instance'. Both of these will remove the Compiler Error.
Dave
Dave Morris, 3Ci at Southern Company