Public/Edit-ProjectAddReference.ps1
Function Edit-ProjectAddReference() { param ( [Parameter(Mandatory=$true, Position=0)][string]$libraryProjName = "", [Parameter(Mandatory=$false, Position=1)][string]$addToProjName= "" ) [SolnInfo]$solnInfo = [SolnInfo]::Load() if($addToProjName -eq "") { $addToProjName = "$($solnInfo.nickName)Web" } [CsprojInfo]$libraryProj = $solnInfo.GetProjInfoByName($libraryProjName) [CsprojInfo]$addToProj = $solnInfo.GetProjInfoByName($addToProjName) Edit-ProjectAddReferencePrivate $addToProj.csprojFile $libraryProj.csprojFile } |