Skip to content

Instantly share code, notes, and snippets.

View alanmbarr's full-sized avatar
🌴
On vacation

Alan Barr alanmbarr

🌴
On vacation
View GitHub Profile
@alanmbarr
alanmbarr / ReplaceReferences.ps1
Last active December 12, 2017 19:55 — forked from shiranGinige/ChangeAllReferences.ps1
Powershell script to changes references of all projects under the execution directory
#ReplacePackage -ReferenceToRemove $encompasspkg -VersionNumber $versionSDK
function ReplacePackage(){
param([String]$ReferenceToReplace, [String]$VersionNumber)
$xmlns = "http://schemas.microsoft.com/developer/msbuild/2003"
$projects = ls -r -i *.csproj
foreach($projectPath in $projects)
{