I got MVC 5 project for support. When I opened solution in VS (2022), it converted projects from .NET Framework 4.5 to 4.8. Tried to build it, got several errors:
<code> ...Global.asax(10,11): error CS0246: The type or namespace name 'XXXX' could not be found
</code>
<code> ...Global.asax(10,11): error CS0246: The type or namespace name 'XXXX' could not be found
</code>
...Global.asax(10,11): error CS0246: The type or namespace name 'XXXX' could not be found
Where XXXX – namespace’s from other project’s in this solution. Lines where errors point:
<code> <%@ Import Namespace="XXXX" %>
</code>
<code> <%@ Import Namespace="XXXX" %>
</code>
<%@ Import Namespace="XXXX" %>
Output path of all projects points to the same folder. Target framework everywhere 4.8. Why it can’t see neighboring projects?