Created
April 10, 2017 14:06
-
-
Save Ytrog/3873f4078e64bbb1e283fb1edcbfe112 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cls | |
$path = "<yourpath>.csproj" | |
[xml] $file = Get-Content $path | |
$ns = new-object Xml.XmlNamespaceManager $file.NameTable | |
$ns.AddNamespace("msb", "http://schemas.microsoft.com/developer/msbuild/2003") | |
$refs = $file.SelectNodes("//msb:Reference", $ns) | |
$prefs = $file.SelectNodes("//msb:ProjectReference", $ns) | |
$summary = $refs + $prefs | |
$summary | Out-GridView |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment