I'm a long time user of AnkhSVN, but suddenly it was gone in Visual Studio 2010, in VS2008 it stilled worked, bummer!
I tried to Repair the installation, remove and reinstall it but no sign of AnkhSVN in VS2010.
After a bit of searching, I found the answer.
Somehow the default 'Current source control plug-in' had been set to 'Visual Studio Team Foundation Server' instead of AnkhSVN.
Wednesday, December 19, 2012
Thursday, December 06, 2012
XML Special Characters
I always fail to keep track of what you can and cannot type in XML.
So here is a short list:
" replace with " or 
& replace with & or 
' replace with ' or 
< replace with < or C;
> replace with > or E;
See more at http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
Example
<dummy comment="my 'special' char " >
You then convert it to
<dummy comment="my 'special' char " >
Here is a code example converting:
Private Function encodeXMLEntry(ByVal inData As String) As String
Dim x As String = inData
' Replace special characters, start with & for obvious reasons.
x = x.Replace("&", "&")
x = x.Replace("""", """)
x = x.Replace("'", "'")
x = x.Replace("<", "<")
x = x.Replace(">", ">")
' return the escaped string
Return x
End Function
-
So here is a short list:
" replace with " or 
& replace with & or 
' replace with ' or 
< replace with < or C;
> replace with > or E;
See more at http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
Example
<dummy comment="my 'special' char " >
You then convert it to
<dummy comment="my 'special' char " >
Here is a code example converting:
Private Function encodeXMLEntry(ByVal inData As String) As String
Dim x As String = inData
' Replace special characters, start with & for obvious reasons.
x = x.Replace("&", "&")
x = x.Replace("""", """)
x = x.Replace("'", "'")
x = x.Replace("<", "<")
x = x.Replace(">", ">")
' return the escaped string
Return x
End Function
Subscribe to:
Posts (Atom)
MySQL to MariaDB
Here is a good description how to migrate to MariaDb MySQL to MariaDb Example of how to dump data from MySQL port=3307: mysqldump --user=ro...
-
When converting an VB2008 application to VB2010 I run into trouble regarding COM objects while compiling. you get errors like: Error 1...
-
In a module you have declared a Structure or Enum that you will use through out a project. Module Module1 Public Structure dummy ...
-
Apache2 crashes on Ubuntu Linux 22.04.5 after Zabbix was updated to 7.0.26 During a upgrade of my Ubuntu server there was a new package for ...