File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
src/ProjectTemplates/scripts Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -638,7 +638,7 @@ stages:
638638 timeoutInMinutes : 240
639639 steps :
640640 - script : git submodule update --init
641- displayName : Update submodules
641+ displayName : Update submodules ci-public
642642 - script : ./restore.cmd
643643 displayName : Run restore.cmd
644644 - powershell : ./eng/build.ps1 -all -noBuildJava -noBuildNodeJS "-WarnAsError:false"
Original file line number Diff line number Diff line change @@ -690,7 +690,7 @@ extends:
690690 timeoutInMinutes : 240
691691 steps :
692692 - script : git submodule update --init
693- displayName : Update submodules
693+ displayName : Update submodules ci
694694 - script : ./restore.cmd
695695 displayName : Run restore.cmd
696696 - script : ./eng/build.cmd -all -noBuildJava -noBuildNodeJS
@@ -708,6 +708,19 @@ extends:
708708 -NoBuildDeps
709709 -configuration Release
710710 displayName : Run project template tests
711+ - script : |
712+ echo "Available templates:"
713+ dotnet new list
714+ echo ""
715+ echo "Template package locations:"
716+ dotnet new search --columns-all | findstr /i "template"
717+ echo ""
718+ echo "Template cache location:"
719+ echo %USERPROFILE%\.templateengine
720+ if exist "%USERPROFILE%\.templateengine" (
721+ dir "%USERPROFILE%\.templateengine" /s /b
722+ )
723+ displayName: Check available templates and locations
711724 - powershell : . ./activate.ps1; ./src/ProjectTemplates/scripts/Run-BlazorWeb-Locally.ps1 -Verbose
712725 displayName : Run Blazor web app test script
713726
Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ function Test-Template {
3838 $env: Path = " $PSScriptRoot /.dotnet;$env: Path " ;
3939 Write-Verbose " PATH: $env: Path " ;
4040 Write-Verbose " DOTNET_ROOT: $env: DOTNET_ROOT " ;
41+ Write-Verbose " Running dotnet --info" ;
42+ dotnet -- info;
4143 $tmpDir = " $PSScriptRoot /$templateName " ;
4244 Remove-Item - Path $tmpDir - Recurse - ErrorAction Ignore;
4345 Push-Location ..;
You can’t perform that action at this time.
0 commit comments