Creating a new Blazor solution with sample pages doesn't work

I'm on Kubuntu 26.04 using the latest version of Rider (2026.2.3.1)

When trying to create a Blazor Web App using net10.0, Auto interactive render mode, per page/component Interactivity location, individual auth, dockerfile + docker compose and Include sample pages - it doesn't create the solution. It creates two folders (Project/Project and Project/Project.Client) with files inside + project file in each, but that's it.

It works fine when I don't include sample pages though.

0
1 comment

Hello Koisy! 

Thank you for listing the exact template options, this makes the problem much easier to narrow down. However, I cannot reproduce it on my side. 

Could you please do the following: 

1) Reproduce the problem once more in Rider, then collect logs with Help | Collect Logs and Diagnostic Data. Please upload the archive to https://uploads.jetbrains.com and share the Upload ID here. Only JetBrains can open the upload, so the ID is safe to post in this public thread.

2) It would also help a lot to know which option breaks the solution together with "Include sample pages". Could you try to create the solution with sample pages on and turn off one option at a time: first Dockerfile and Docker Compose, then Individual authentication, then the Auto render mode?

Also, you can create the project from a terminal and then open it in Rider. This command uses the same options as your setup, except Docker support, because the `dotnet new` template has no Docker option:

```
dotnet new blazor -n Project -f net10.0 --interactivity Auto --auth Individual
```
If the `dotnet new` command above also fails or creates an incomplete project, please tell me. That would point to the template itself rather than to Rider.

Looking forward to your reply.

0

Please sign in to leave a comment.