Unable to add user controls

M

Marco Trapanese

Hello,

Create project > add user control (windows forms) > Build project > add
the user control on the main form.

I get this long error message:

Failed to create component 'SelectionBox'. The error message follows:
System.Xml.XmlException: An error occurred while parsing EntityName.
Line 2, position 68.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseEntityName()
at System.Xml.XmlTextReaderImpl.Throw(ParseAttributesValueSlow(...))
ecc...

and so on...
Any idea?


Grazie
Marco
 
M

Marco Trapanese

Cor Ligthert[MVP] ha scritto:
The user control needs a reference that is not set.


It was the first thought, but the user control is an empty form with no
code inside (I only clicked on add user control).

Marco
 
M

Marco Trapanese

Marco Trapanese ha scritto:
It was the first thought, but the user control is an empty form with no
code inside (I only clicked on add user control).


Solved moving the application to another folder :-/

Marco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top