/// <summary> /// Creates a new project instance /// </summary> /// <returns> /// The NuBuildNode project node /// </returns> protected override ProjectNode CreateProject () { var project = new NuBuildNode(this.package); var provider = (IServiceProvider)this.package; var olesite = (IOleServiceProvider)provider.GetService( typeof(IOleServiceProvider) ); project.SetSite(olesite); return project; }
/// <summary> /// Creates a new project instance /// </summary> /// <returns> /// The NuBuildNode project node /// </returns> protected override ProjectNode CreateProject() { var project = new NuBuildNode(this.package); var provider = (IServiceProvider)this.package; var olesite = (IOleServiceProvider)provider.GetService( typeof(IOleServiceProvider) ); project.SetSite(olesite); return(project); }