You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
365 B
PowerShell
14 lines
365 B
PowerShell
param($installPath, $toolsPath, $package, $project)
|
|
|
|
"Uninstalling [{0}] from project [{1}]" -f $package.Id, $project.FullName | Write-Host
|
|
|
|
# Retrieve the reference to the package
|
|
$sharpdx_reference = $project.Object.References.Item($package.Id)
|
|
if ($sharpdx_reference)
|
|
{
|
|
# Remove the reference
|
|
$sharpdx_reference.Remove()
|
|
# Save the project
|
|
$project.Save()
|
|
}
|