mirror of
https://github.com/aphrody-labs/NuGet.Client.git
synced 2026-10-14 05:19:04 +00:00
13 lines
439 B
PowerShell
13 lines
439 B
PowerShell
Write-Host "Regenerating all generated files from all .tt files."
|
|
Write-Host "(requires t4.exe from 'dotnet tool install --global dotnet-t4' or right click .tt files in VS and 'run custom tool')"
|
|
Write-Host ""
|
|
$ttFiles = Get-ChildItem -Filter *.tt -Recurse -File -Name
|
|
foreach ($ttFile in $ttFiles)
|
|
{
|
|
if (-not $ttFile.endswith("AssemblySourceFileGenerator.tt"))
|
|
{
|
|
Write-Host t4.exe $ttFile
|
|
t4.exe "$ttFile"
|
|
}
|
|
}
|