Skip to content

Instantly share code, notes, and snippets.

@nalanj
Created June 7, 2010 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nalanj/429177 to your computer and use it in GitHub Desktop.
Save nalanj/429177 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<project name="Hello World" default="coverage" basedir=".">
<target name="coverage" description="Runs coverage against IIS and hits IIS asynchronously.">
<asyncexec program="C:\Program Files\NCover\NCover.Console.exe"
commandline="//iis //x async.nccov"
taskname="ncover"
failonerror="False"
resultproperty="NCoverOutput"
verbose="True" />
<sleep seconds="10" /> <!-- this is here to make sure we have time to let IIS get started before we hit it -->
<asyncexec program="C:\Program Files\NCover\NCover.Console.exe"
commandline="//x client.nccov Client.exe"
taskname="Client"
failonerror="False"
verbose="True" />
<waitforexit>
<tasknames>
<string value="Client" />
</tasknames>
</waitforexit>
<exec program="C:\Windows\System32\iisreset.exe" />
<waitforexit>
<tasknames>
<string value="ncover" />
</tasknames>
</waitforexit>
</target>
</project>
@itstommymorgan
Copy link

Best "Hello World" EVAR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment