You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a scaffolded Blazor Identity to the Aspire Starter App fails with 'value cannot be null or empty Parameter name: projectRelativePath'.
The problem may be due to the presence of '.' in the Web project name, since adding scaffolded Identity to another simple Blazor Web App in the same solution succeeds.
Steps to Reproduce
New solution: .NET Aspire Starter App, named 'Test1'
With options:
Produces:
Add Scaffolded Blazor identity to Test1.Web project:
Create fails with this error:
Code generation seems to be using the wrong path:
Add a further simple 'Blazor Web App' project 'BlazorApp1' to solution
Add Scaffolded Blazor identity to BlazorApp1 project:
Success:
Include provider and version information
Operating system: OS Name Microsoft Windows Server 2019 Standard
Version 10.0.17763 Build 17763
IDE: Microsoft Visual Studio Community 2022
Version 17.12.0 Preview 2.1
VisualStudio.17.Preview/17.12.0-pre.2.1+35323.107
The text was updated successfully, but these errors were encountered:
The current scaffolders in VS are not supported for aspire apps. Will take a look at this bug soon but for a workaround, please try our new command-line scaffolding tool, dotnet-scaffold
Adding a scaffolded Blazor Identity to the Aspire Starter App fails with 'value cannot be null or empty Parameter name: projectRelativePath'.
The problem may be due to the presence of '.' in the Web project name, since adding scaffolded Identity to another simple Blazor Web App in the same solution succeeds.
Steps to Reproduce
New solution: .NET Aspire Starter App, named 'Test1'
With options:
Produces:
Add Scaffolded Blazor identity to Test1.Web project:
Create fails with this error:
Code generation seems to be using the wrong path:
Add a further simple 'Blazor Web App' project 'BlazorApp1' to solution
Add Scaffolded Blazor identity to BlazorApp1 project:
Success:
Include provider and version information
Operating system: OS Name Microsoft Windows Server 2019 Standard
Version 10.0.17763 Build 17763
IDE: Microsoft Visual Studio Community 2022
Version 17.12.0 Preview 2.1
VisualStudio.17.Preview/17.12.0-pre.2.1+35323.107
The text was updated successfully, but these errors were encountered: