diff --git a/build.psm1 b/build.psm1 index a5b5ba385d4..1330f1bd6f6 100644 --- a/build.psm1 +++ b/build.psm1 @@ -2074,7 +2074,7 @@ function Start-CrossGen { $Runtime ) - function Generate-CrossGenAssembly { + function New-CrossGenAssembly { param ( [Parameter(Mandatory= $true)] [ValidateNotNullOrEmpty()] @@ -2224,7 +2224,7 @@ function Start-CrossGen { foreach ($assemblyName in $fullAssemblyList) { $assemblyPath = Join-Path $PublishPath $assemblyName - Generate-CrossGenAssembly -CrossgenPath $crossGenPath -AssemblyPath $assemblyPath + New-CrossGenAssembly -CrossgenPath $crossGenPath -AssemblyPath $assemblyPath } #