Hi Guys,
We are working for a VS package, the requirment is to implement more behavior when click'Add Existing Item...'(C# Unit test project -->Solution explorer-->right click project-->choose 'Add'-->choose 'Add Existing Item...'), so that we inheritIVsTrackProjectDocumentsEvents2, and override method OnAfterAddFilesEx/OnQueryAddFiles.
The question is how to get the source file path inOnAfterAddFilesEx or OnQueryAddFiles?
For example, if we add existing file 'c:\abc.xml'into project, through rgpszMkDocuments[i] we can get the target project file path('C:\Users\Unisys\Documents\visual studio 2013\Projects\UnitTestProject1\UnitTestProject1\abc.xml'), whilehow to catch path 'c:\abc.xml'?
Thanks in advanced!