There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
ProjectNode does not allow SVsSccManager, SVsQueryEditQuerySave to be overrided to use custom SCC provider
The current interface and implementation of ProjectNode.cs does not allow end user to change the SCC provider other than the default SVsSccManager or SVsQueryEditQuerySave.
sited methods are :
internal bool QueryEditProjectFile(bool suppressUI)
protected void RegisterSccProject()
protected void UnRegisterProject()
in all 3 functions, when the end user needs to implement custom SCC provider packages (in VS Isolated or integrated shell), the methods are closed off from extending and method always returns the default SCC provider and not the end-user custom SCC provider,
causing SCC operations to be incorrectly executed.
I am proposing to fix this (add extensibility) by changing the interface to the following:
protected internal virtual bool QueryEditProjectFile(bool suppressUI)
protected virtual void RegisterSccProject()
protected virtual void UnRegisterProject()
Similar approaches were taken on other functions, as well as in the HierarchyNode.cs class.