Microsoft.CodeAnalysis.CodeGeneration Problem

Carolyn Schroeder 186 Reputation points
2022-11-16T16:41:48.013+00:00

I am trying to scaffold a Razor View in a .NET 6 MVC project. I keep getting the error Microsoft.CodeAnalysis.CodeGeneration.CodeGenerationArrayTypeSymbol Method "Accept" does not have an implementation

I have included and updated these NuGet packages to their latest version (4.4.0):
Microsoft.CodeAnalysis.Common
Microsoft.CodeAnalysis.Compilers
Microsoft.CodeAnalysis.CSharp
Microsoft.CodeAnalysis.VisualBasic
Microsoft.Net.Compilers.Toolset

How do I fix this error?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 questions
{count} votes