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.
SCJMapper-V2/packages/SharpDX.DirectInput.2.6.3/tools/UnInstall.ps1

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()
}