예제 #1
0
    protected override ProjectNode CreateProject() {
      try {
        var project = new VSProjectNode(this.Package as VSProject);

        project.SetSite((IOleServiceProvider)((IServiceProvider)this.Package).GetService(typeof(IOleServiceProvider)));
        LogUtility.LogString("(Result == null) = {0}", project == null);
        return project;
      } catch (Exception E) {
        LogUtility.LogException(E);
        throw;
      }
    }
예제 #2
0
        protected override ProjectNode CreateProject()
        {
            try {
                var project = new VSProjectNode(this.Package as VSProject);

                project.SetSite((IOleServiceProvider)((IServiceProvider)this.Package).GetService(typeof(IOleServiceProvider)));
                LogUtility.LogString("(Result == null) = {0}", project == null);
                return(project);
            } catch (Exception E) {
                LogUtility.LogException(E);
                throw;
            }
        }