+ Start a Discussion
sdbsdb 

<packageVersions> in metadata

Recently <packageVersions> have begun appearing in the metadata files for some of my apex classes. If I am understanding the doc correctly, this would happen if an apex class makes a call to code in a managed package. But as far as I can tell, no such calls exist. Any idea what would cause this to happen? 

Bhawani SharmaBhawani Sharma
I think, this happens with global classes also. Not very much sure,
Robert Strunk 16Robert Strunk 16
If any components in the package are called (custom fields, vf pages, etc.) the packageVersion will show up in the metafile. It isn't restricted to just Apex references.