How to compile and run ALL WPF samples in the Windows SDK with a single command
Posted by: eXtensible mind,
on 16 Nov 2007 |
View original | Bookmarked: 0 time(s)
Just issue the following PowerShell one-liner, and you'll compile and run each sample in the SDK (enter all in one line; broken here for readability): PS C:\WinFx Samples\WPFSamples\AppModel\> gci -i *.csproj -r | foreach { pushd ([System.IO.Path]::GetDirectoryName($_.FullName)); msbuild $_.fullname; (gci -i *.exe -r | %{ &$_.fullname; read-host; }); popd; $_; }
"WinFx Samples" is the folder...