Files
SabreTools/packages/Mono.Data.Sqlite.Portable.1.0.3.5/tools/netcore451/uninstall.ps1

18 lines
919 B
PowerShell
Raw Normal View History

param($installPath, $toolsPath, $package, $project)
$sqliteReference = $project.Object.References.Find("SQLite.WinRT81, version=3.8.7.4")
if ($sqliteReference -eq $null) {
Write-Host "Unable to find a reference to the extension SDK SQLite for Windows Runtime (Windows 8.1)."
Write-Host "Verify that the reference to the extension SDK SQLite for Windows Runtime (Windows 8.1) has already been removed."
} else {
$sqliteReference.Remove()
Write-Host "Successfully removed the reference to the extension SDK SQLite for Windows Runtime (Windows 8.1)."
}
# This is the global uninstall file
$rootInstall = [System.IO.Path]::Combine($toolsPath, '../uninstall.ps1')
$rootToolsPath = [System.IO.Path]::Combine($toolsPath, '../')
Write-Host $rootInstall
. $rootInstall -installPath $installPath -toolsPath $rootToolsPath -package $package -project $project