Files
SabreTools/packages/Mono.Data.Sqlite.Portable.1.0.3.5/tools/netcore451/uninstall.ps1
Matt Nadareski 39b66ed8a1 Let's be Mono friendly
This is a massive overhaul that replaces System.Data.SQLite with Mono.Data.Sqlite. This should make it more compatible with Linux and Mac and has no known downsides for Windows.
2016-04-20 17:02:15 -07:00

18 lines
919 B
PowerShell

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