/// <summary> /// Create an instance of CustomPropertyPageProjectFlavor. /// The initialization will be done later when Visual Studio calls /// InitalizeForOuter on it. /// </summary> /// <param name="outerProjectIUnknown"> /// This value points to the outer project. It is useful if there is a /// Project SubType of this Project SubType. /// </param> /// <returns> /// An CustomPropertyPageProjectFlavor instance that has not been initialized. /// </returns> protected override object PreCreateForOuter(IntPtr IUnknown) { Project project = new Project(); project.Package = Package.Instance; return project; }