Visual Studio 2022 "Arithmetic operation resulted in an overflow" Error on MVC 4 Project

Viewed 1232

I'm developing my old MVC 4 project on Visual Studio 2022. But when I try to "add view" or "add area", "Arithmetic operation resulted in an overflow" error occurs. It only happens in VS2022. VS2019 is OK.

How can I solve this problem?

Here is my issue video: https://www.youtube.com/watch?v=yTY4xTyJp1w

2 Answers

Unfortunately, updating to release version VS2022 17.2.6 failed to resolve the error for me. Rolling back to VS2019 16.11.17 allowed me to continue development without the issue.

Related