Recently installed Visual Studio 2022, and have some old style mixed code aspx files with:
<code><%@ Page Language="C#" %>
<script runat="server"> ...
</code>
<code><%@ Page Language="C#" %>
<script runat="server"> ...
</code>
<%@ Page Language="C#" %>
<script runat="server"> ...
The c# code inside the script remains uncolorized. HTML code is colorized fine. These are just one-off aspx files to be edited and not necessarily part of a VS project.
This worked fine in VS2015.
Is there a setting to enable this in VS2022?