AnsweredAssumed Answered

Is there a method which indicates if an assembly has been "Packed & Go"?

Question asked by Stephane Bonnet on Nov 12, 2018

I have a problem where my components names don't match my references names when the files names have been added prefixes and/or suffixes during the Pack&Go process. The components names are the original names and thus shorter. How come Pack&Go doesn't also modify components path names when adding prefixes and/or suffixes?

The property causing me trouble is this one :

 

configMgr = dmDoc.ConfigurationManager
config = configMgr.GetConfigurationByName(configMgr.GetActiveConfigurationName())
comps = config.GetComponents()
For Each comp in comps
    Debug.Print(comp.PathName)
Next

Those comp.PathName are different than the path names found in

dmDoc.GetAllExternalReferences4(dmSearchOpt, ReferenceStatusObj, IsVirtualObj, TimeStampObj)

Outcomes