Eliminate Roslyn Compiler from Windows Server 2022 and keep Windows 2016 C# behaviour.

Last Reply 9 days ago By dharmendr

Posted 12 days ago


After upgrading from Win Server 2016 to Win Server 2022, C# code in the App_Code directory crashes IIS's Modules option. The video at https://youtu.be/xZTZJVnFAgw demonstrates this.

I've been researching the issue and it seems that this is because of the roslyn compiler. I would like to disable this compiler and retain the old (before the .NET Core) functionality.

Can anyone point me to how to acheive this?

In my Win Server 2016 I didn't have Visual Studio installed.


You are viewing reply posted by: dharmendr 9 days ago.
Posted 9 days ago

This is outside the scope of the forums.

You need to hire someone for this.