SCJMapper-V2/packages/SharpDX.DirectInput.2.6.2/tools/UnInstall.ps1

14 lines
365 B
PowerShell
Raw Normal View History

2014-06-22 18:22:32 +00:00
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()
}