Share via

Microsoft.CodeAnalysis.CodeGeneration Problem

Carolyn Schroeder 191 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?

Developer technologies | .NET | Other
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.