T4MVC / R4MVC

R4MVC is a Roslyn code generator for ASP.NET Core MVC apps that creates strongly typed helpers that eliminate the use of literal strings in many places
Apache License 2.0
157 stars 48 forks source link

Support C# 10 and C# 11 codebases #179

Open danielgreen opened 1 year ago

danielgreen commented 1 year ago

Update to the latest Roslyn SDK to support running R4MVC over codebases written in C# 10 and C# 11. In particular this adds support for file-scoped namespaces, which the parser was seeing as an error.

.NET Core 2 and 3 are out of support, so remove the AspNetSimple.NetCore2 sample app, and update the other sample apps to .NET 7.

Also update other NuGet package dependencies.

Resolves issue #177

danielgreen commented 1 year ago

Gentle nudge @artiomchi @kevinkuszyk