This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe "DS"{ | |
it "skipped" {} -skip | |
it "pending" {} -Pending | |
It "throw" { throw "sdfad" } | |
It "assertion fail" {1 | should be 10 } | |
It "string assertion fail" {"asdf" | should be "ffsad" } | |
it "success" {"adsf"} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Select-xml '//package' -Path "packages.config" | % { """{0}"": ""{1}""" -f $_.Node.id,$_.Node.version }) -join ",`n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Imports | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Collections; | |
using System.Configuration; | |
using System.IO; | |
#endregion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- This task takes in a XDT transform file and transforms it, following any inheritance chain. | |
There should be at least one base transform for this to work; otherwise just use Microsoft's | |
regular TransformXml task. --> | |
<!-- EXAMPLE USAGE: | |
<TransformXmlHierarchy | |
Source="source.xml" | |
Destination="transformed.xml" | |
TaskDirectory="path/to/directory/of/Microsoft.Web.Publishing.Tasks" /> | |
--> | |
<UsingTask |