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...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: WPF | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 777 | Hits: 14

Similar Posts

  • Get SOLID: Single Responsibility Principle more
  • Singleton in .NET more
  • Easily extend post-commit hook in Subversion using NAnt - email anyone? more
  • Apple Safari for Windows and Microsoft Silverlight more
  • Host WPF Controls in Windows Forms more
  • Managing Windows Workflow Events on a Web Server more
  • Breaking News: Future Version of .NET Framework to Run on the Mac more
  • WPF/E and Script# more
  • Dynamically Modifying a Workflow from the Outside more
  • Writing a simple managed control under IE more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD