We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38728ba + dd1a2d9 commit 5490aacCopy full SHA for 5490aac
ProjectHeads/GenerateSingleSampleHeads.ps1
@@ -52,10 +52,8 @@ dotnet new --install "$PSScriptRoot/SingleComponent" --force
52
Push-Location $componentPath
53
54
# Copy and rename projects
55
-dotnet new ct-tooling-heads -n $componentName
56
-
57
-# Rename folder from component name (dotnet tooling default) to 'heads'
58
-Rename-Item -Path "$componentName" -NewName $headsFolderName -Force
+# Set output folder to 'heads' instead of default
+dotnet new ct-tooling-heads -n $componentName -o $headsFolderName
59
60
# Remove template, as just for script
61
dotnet new --uninstall "$PSScriptRoot/SingleComponent"
0 commit comments