I wrote this macro for work and thought other people might be able to use it.
Public Sub MakeAllRefsCopyLocal()
For Each aproj As Project In DTE.Solution.Projects
If (aproj.Kind = PrjKind.prjKindCSharpProject) Then
Dim vsProj As VSProject = CType(aproj.Object, VSProject)
For Each ref As Reference In vsProj.References
Try
ref.CopyLocal = False
Catch ex As Exception
End Try
Next
End If
Next
MsgBox("All References Made To Copy Local")
End Sub