Skip to content
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

Attempting to scaffhold into blank ASP.NET Core project(s) causes error #1590

Closed
marwalsch opened this issue Jun 22, 2021 · 1 comment
Closed

Comments

@marwalsch
Copy link

File a bug

I am attempting to scaffhold Identity with a Blazor Server Project. Scaffholding into the Razor template used to work two weeks ago.
Now, everytime I follow the instructions to scaffhold into Blazor Server or Razor projects I get an error as soon as I select the "New Scaffholded Item" in the solution explorer (described below).

I tried:

  • repairing VS2019;
  • deleting .vs folders;
  • .NET 5 and .NET 3.1;
  • both omitting and selecting the "Individual Accounts" option when setting authentication;

Include stack traces

An Error window pops up stating "An item with the same key has already been added."

Include provider and version information

Target framework: .NET 5 and .NET Core 3.1
Operating system: Windows 10
IDE: Visual Studio 2019 16.10.2

@marwalsch
Copy link
Author

I'm closing as I could quite accurately pinpoint this issue actually being Visual Studio related, though I wasn't able to resolve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant