Command line (or equivalent) tools for .NET development Command line (or equivalent) tools for .NET development powershell powershell

Command line (or equivalent) tools for .NET development


The most critical PowerShell commands are Get-Command (alias gcm) and Get-Member (alias gm). Those two commands allow you to explore and exploit most of the functionality available. Get-Member is great for interactively exploring and working with .NET objects.

The other useful series of commands are:

[System.Reflection.Assembly]::LoadFrom($relativepath)[System.Reflection.Assembly]::LoadFile($absolutepath)

which allow you to load other assemblies into PowerShell to work with them.


NAnt and booi are the biggest ones for me. NAnt provides building, and booi provides a simple way of running .NET code.


In my larger projects, I started to create customized build.cmd batch files which themselves call command line tools like:

  • graspx to check .aspx files,
  • osql to generate C# code from an SQL Server database schema and backup the development database,
  • scptxfr to script the schema,
  • msbuild to build applications,
  • devenv to build setup solutions,
  • 7za (7-Zip) to zip stuff.

An occasional IISReset also helps ;)