aspnet / RoslynCodeDomProvider

Roslyn CodeDOM provider
MIT License
84 stars 41 forks source link

Consider updating the shipped roslyn files? #156

Open AraHaan opened 1 year ago

AraHaan commented 1 year ago

Is it possible to update roslyn 4.1.0 that gets packaged into this to a much more updated version that ships with the .NET SDK / Visual Studio 2022 itself?

AraHaan commented 1 year ago

Edit: looks like there is roslyn 4.7 and roslyn 4.8 as well.

MattBussing commented 3 months ago

I love the idea of updating to latest! Do you have reasons you need the 4.8 version over the 4.1 version, other than you want to stay up date? Listing the reasons could help the developers choose to prioritize this work.

AraHaan commented 3 months ago

To be able to use the latest bug fixes in the compiler, as well as being able to use things like C# 12 on .NET Framework cshtml files for my web applications. Also would help for future migration to core to be not as painful as well as it would mean updating all of the cshtml files anyways to the newer language versions of C#. Also because I made a version of this that also includes a few performance fixes as well and everything seems to work so far without issues anyways.

MattBussing commented 3 months ago

Great reasons!