mirror of
https://github.com/BepInEx/BepInEx.ConfigurationManager.git
synced 2026-11-21 07:29:24 -10:00
9 lines
259 B
PowerShell
9 lines
259 B
PowerShell
param($installPath, $toolsPath, $package, $project)
|
|
$asms = $package.AssemblyReferences | %{$_.Name}
|
|
foreach ($reference in $project.Object.References)
|
|
{
|
|
if ($asms -contains $reference.Name + ".dll")
|
|
{
|
|
$reference.CopyLocal = $false;
|
|
}
|
|
} |