Skip to content

Commit 0673208

Browse files
committed
Debug
1 parent 4a0a58d commit 0673208

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.azure/pipelines/ci-public.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

.azure/pipelines/ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff 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

src/ProjectTemplates/scripts/Test-Template.psm1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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 ..;

0 commit comments

Comments
 (0)