This class is generated by the VSIP package wizard and newEditor is a
standard code editor as made by the template, deriving from these classes:
public class EditorPane : System.Windows.Forms.UserControl,
IVsPersistDocData,
IPersistFileFormat,
IOleCommandTarget,
IVsWindowPane,
IVsFindTarget,
IVsDocDataFileChangeControl,
IVsFileChangeEvents
So the editor is called like this:
EditorPane newEditor = new EditorPane(myPackage); where myPackage is a VSIP
package.
The error I get is in public class EditorFactory, which inherits from
IVsEditorFactory.
And the strange thing is that my package does work in debug mode. I already
signed this package with a PLK and run it with the /noVSIP parameter.
> Hi Himo,
>
[quoted text clipped - 5 lines]
>
> This post is 'AS IS' with no warranties, and confers no rights.
Himo - 08 Dec 2004 16:11 GMT
I also noticed when handling all the errors by the IDE, that it also errors
along these lines with a COMException:
//
// EditorPane
//
this.Controls.Add(this.tabControl1);
this.Name = "EditorPane";
this.Size = new System.Drawing.Size(632, 600);
this.Load += new System.EventHandler(this.EditorPane_Load)
((System.ComponentModel.ISupportInitialize)(this.WebBrowser)).EndInit();<---- Probably this is the cause, a strongnamed AxShDocVw
this.tabControl1.ResumeLayout(false); <--- Errors here
this.DesignPage.ResumeLayout(false);
this.DesignMenuItems.ResumeLayout(false);
this.ProgressDialog.ResumeLayout(false);
this.PreviewPage.ResumeLayout(false);
this.XMLCodePage.ResumeLayout(false);
this.ResumeLayout(false);