Skip to content

Add CreateScopeForStatusCodePages property and UseStatusCodePagesWithReExecute overload #62768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 17 commits into from

Conversation

ilonatommy
Copy link
Member

Duplicate of #62624. Trying to see if the CI is not failing because of cached trash packages.

@ilonatommy ilonatommy added this to the 10.0-preview7 milestone Jul 17, 2025
@ilonatommy ilonatommy self-assigned this Jul 17, 2025
@ilonatommy ilonatommy added the area-blazor Includes: Blazor, Razor Components label Jul 17, 2025
@ilonatommy
Copy link
Member Author

ilonatommy commented Jul 21, 2025

Not updating templates breaks BlazorTemplates.Tests.BlazorWebTemplateTest.BlazorWebTemplate_Works from Test: Windows Server x64 pipeline, in step Run build.cmd:

log

Project new blazor  --no-restore -int Server -au None failed to publish. Exit code 1.\r\nD:\a\_work\1\s\src\ProjectTemplates\test\Templates.Blazor.Tests\bin\Release\net10.0\TestTemplates\dotnet\dotnet.exe publish  -c Release /bl \nStdErr: \nStdOut:   Determining projects to restore...\r\n  All projects are up-to-date for restore.\r\nD:\a\_work\1\s\.dotnet\sdk\10.0.100-preview.7.25322.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(335,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [D:\a\_work\1\s\src\ProjectTemplates\test\Templates.Blazor.Tests\bin\Release\net10.0\TestTemplates\AspNet.ifa5mla2wcy3\AspNet.ifa5mla2wcy3.csproj]\r\nD:\a\_work\1\s\src\ProjectTemplates\test\Templates.Blazor.Tests\bin\Release\net10.0\TestTemplates\AspNet.ifa5mla2wcy3\Program.cs(18,51): error CS1739: The best overload for 'UseStatusCodePagesWithReExecute' does not have a parameter named 'createScopeForErrors' [D:\a\_work\1\s\src\ProjectTemplates\test\Templates.Blazor.Tests\bin\Release\net10.0\TestTemplates\AspNet.ifa5mla2wcy3\AspNet.ifa5mla2wcy3.csproj]\r\n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants