You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Prowlarr/packages/EntityFramework.4.3.0/tools/init.ps1

14 lines
495 B

param($installPath, $toolsPath, $package, $project)
if ([System.AppDomain]::CurrentDomain.GetAssemblies() | ?{ $_.GetName().Name -eq 'EntityFramework' })
{
Write-Warning 'There is already a version of EntityFramework.dll loaded. You may need to restart Visual Studio for the commands to work properly.'
}
if (Get-Module | ?{ $_.Name -eq 'EntityFramework' })
{
Remove-Module 'EntityFramework'
}
Import-Module (Join-Path $toolsPath 'EntityFramework.psd1') -ArgumentList $installPath