Mineplex2018-withcommit/Website/packages/MvcScaffolding.1.0.7/tools/install.ps1

9 lines
365 B
PowerShell

param($rootPath, $toolsPath, $package, $project)
# Bail out if scaffolding is disabled (probably because you're running an incompatible version of T4Scaffolding.dll)
if (-not (Get-Module T4Scaffolding)) { return }
# Try to delete InstallationDummyFile.txt
if ($project) {
Get-ProjectItem "InstallationDummyFile.txt" -Project $project.Name | %{ $_.Delete() }
}