tfs - How can I manipulate pending changes window programatically? -



tfs - How can I manipulate pending changes window programatically? -

i creating clone of merge wizard of tfs add together new features.

i merged workspakce.merge api. need way programatically show pending changes - conflict window.

i have ivswindowframe pendingchangesext like:

getstatus status = sourceexplorer.workspace.merge(sourcepath, targetpath, versionfrom, versionto, locklevel.none, recursiontype.full, mergeoptionsex.none); ivswindowframe frame = pendingchanges.vswindowframe; frame.show();

when phone call show(), pending changes window refresh checkout files, need select lastly button in screen (conflicts), show conflicts of merge.

how programatically click on conflict button on screen through ivswindowframe ?

i found solution help of republic of chad boles:

public void refreshpendingchanges() { object customin = null; object customout = null; //show tfspendingchanges m_applicationobject.executecommand("view.tfspendingchanges", ""); //refresh m_applicationobject.commands.raise("{ffe1131c-8ea1-4d05-9728-34ad4611bda9}", 4808, ref customin, ref customout); //activate source explorer m_applicationobject.dte.windows.item("{99b8fa2f-ab90-4f57-9c32-949f146f1914}").activate(); //i guid recording macro. //show conflicts m_applicationobject.dte.executecommand("file.tfsresumeconflictresolution"); }

thanks republic of chad boles, said me file.tfsresumeconflictresolution !

tfs visual-studio-2012 visual-studio-sdk tfs-sdk

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -