Hi All,
I am a developer of plugin for VS2012. I am OnBeforeCloseProject([InAttribute] IVsHierarchy pHierarchy, [InAttribute] int fRemoved) call for my plugin. For my plugin operations i need check pHierarchy is project or website. Now currently i am using below function to test pHierarchy is project ot not
if(pHierarchy is IVsSccProject2)
{
then consider it is as a project.
}
Then I would like to check the phierarchy is website or not ? Could you please tell me the way ?
and also I observed that fremoved should come as 1 incase of delete project. But some times , I am receving fremoved=1 even incase of no deletiion of project. Could anyone explain this intermittent behavior ?