I have Developed VSTO Addin. Now When I am trying to Install VSTO Addin in my machine I am getting an Exception as following.
System.Xml.XmlException: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 21, position 39.
I have checked in .vsto file at line number 21. and The line is as following.
<publisherIdentity name="CN="<itranscript.net>""/>
What is wrong in above line. Can anyone help me?
I know this is old, but it was the first thing that came up on my search here. I had a similar issue , but it was due to a malformed element in a separate app_settings.config file, so it threw me, as the error was referring to the Web.Config. So in the Web.config, there was something like this
<appSettings file="DebugPrimaryPaul_AppSettings.config">
and in the _AppSettings.config was something like this
<add key ="RegionalCodes" value="xxxxxxxxxxxxxxxxxx />
Note the missing " after value, which results in a malformed line. The error was referring to a line in the Web.config much lower down. Putting the " in fixed it.
I found the solution. <publisherIdentity name="CN="<itranscript.net>""/>
is not correct. Given the right value in name solved my issue...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With