3

Resolved

Still more of "Can't run XML Notepad in VS2005

description

I'm using the 2.5 sources.
 
I get the following in the build:
 
Application -> <MyFolderLocation>\xmlnotepad\Application\bin\Debug\XmlNotepad.exe
"<MyFolderLocation>\xmlnotepad\PublishDrop.cmd" "<MyFolderLocation>\xmlnotepad\Application\bin\Debug\" > "<MyFolderLocation>\xmlnotepad\Publish.log"
Invalid number of parameters
File not found - .
File not found - XML NotePad 2007 EULA.rtf
Invalid number of parameters
 
Everything else seems to build fine.
 
Also <sigh>, when I try to open FormMain in the designer I get the following errors (Build does succeed for XmlNotepad.csproj):
Could not find type 'XmlNotepad.XmlTreeView'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.

 
Could not find type 'XmlNotepad.NoBorderTabPage'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.

 
Could not find type 'XmlNotepad.NoBorderTabPage'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.

 
Could not find type 'XmlNotepad.PaneResizer'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.

 
Could not find type 'XmlNotepad.TaskList'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.

 
Could not find type 'XmlNotepad.XsltViewer'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.

 
Could not find type 'XmlNotepad.XsltViewer'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.

 
Could not find type 'XmlNotepad.NoBorderTabControl'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.

 
Could not find type 'XmlNotepad.NoBorderTabPage'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.

 
Could not find type 'XmlNotepad.NoBorderTabPage'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.

 
The variable 'tabControlViews' is either undeclared or was never assigned.
Hide Edit
 
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
 
The variable 'resizer' is either undeclared or was never assigned.
Hide Edit
 
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)

comments

AllanDoGreat wrote May 6, 2008 at 8:52 AM

anyone can solve it?

rsaulnie wrote Apr 15, 2009 at 8:40 PM

Having exactly the same issue ... any resolutions yet?

ChristianMHuber wrote Aug 15, 2009 at 10:57 PM

Any update yet to this issue?

Marketcentric wrote May 29, 2010 at 6:31 PM

I got it running under VS 2010 c# Express
per the previous suggestion, turn off all signing in all the sub projects

to get around above, backup the PublishDrop.cmd file, then delete the contents of the original (all the command lines) and save/overwrite the original.

Sweet!

clovett wrote Dec 1 at 6:32 AM

Also there seems to be a bug in the WinForms editor such that every time you load FormMain in the designer it "breaks" the code. If you "undo" the changes it makes then you can build the code.