When using XMLPoke on nAnt I used extra amp; when String already contains &
For example
<xmlpoke file="Menu.xml" xpath="//Item[Name[text()='ams']]//ArgumentExpression" value="https://www.myserver.com/Home.aspx?TID={session}&cid={cid}&Username={username}&uiculture={uiculture}" />
I used following extra & as shown below and XMLPoke worked.
<xmlpoke file="Menu.xml" xpath="//Item[Name[text()='ams']]//ArgumentExpression" value="https://www.myserver.com/Home.aspx?TID={session}&amp;cid={cid}&amp;Username={username}&amp;uiculture={uiculture}" />
ASP.NET, C#.NET, CruiseControl.NET, Microsoft SQL Server, MS-DOS Batch, MySQL, nAnt, NodeJs, PowerShell, Python, Selenium RC, Redis, WebAii, Ubuntu
Monday, December 09, 2013
Wednesday, November 20, 2013
Get Installed .NET versions list
In order to know which .NET frameworks being installed, use following command from the Comand Promt
wmic product where "Name like 'Microsoft .Net%'" get Name, Version
wmic product where "Name like 'Microsoft .Net%'" get Name, Version
Wednesday, August 07, 2013
Get Multiple Services using Single PowerShell Command
In order to get multiple services using single PowerShell command I used following
Get-Service | Where-Object {($_.name -like "FV*") -or ($_.name -like "QESE*")}
Get-Service | Where-Object {($_.name -like "FV*") -or ($_.name -like "QESE*")}
Subscribe to:
Posts (Atom)