#!/usr/bin/env csharp
LoadAssembly ("System.Xml.Linq.dll");
using System.Xml.Linq;

try {
  var doc = XDocument.Load ("dbus-sharp.csproj");
  var ns = (XNamespace)"http://schemas.microsoft.com/developer/msbuild/2003";
  var sources = doc.Root.Elements (ns + "ItemGroup").Elements (ns + "Compile").Attributes ("Include");
  Console.WriteLine (string.Join (" \\" + Environment.NewLine, sources.Select (a => a.Value.Replace ('\\', '/'))));
} catch {
  Environment.Exit (1);
}
