Forked from aaronpowell/gist:d798507cbca08d86b41a
Last active
August 29, 2015 14:00
-
-
Save jstangroome/c1971f74e1fdee712dd1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Get-ChildItem -Filter *.csproj -Recurse | | |
Select-Xml -XPath //b:Reference -Namespace @{b='http://schemas.microsoft.com/developer/msbuild/2003'} | | |
Select-Object -Property Path, | |
@{ N='Include'; E={$_.Node.Include} }, | |
@{ N='HintPath'; E={$_.Node.HintPath} } | | |
Where-Object { | |
$_.HintPath -ne $null -and | |
$_.Include -eq "My.Assembly.Name" | |
} | | |
Out-GridView |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment