Mineplex2018-withcommit/Website/packages/MvcScaffolding.1.0.7/tools/install.ps1
Jonathan Williams 3fb52c5c71 Initial Commit
2013-08-27 08:14:08 -07:00

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() }
}