'How to fix vague ASP.NET runtime error that killed intellisense
So I was running both Visual Studio 2019 and 2022 on my computer but removed 2019 yesterday due to disk space issues. Now on all of my aspx and ascx files I'm getting "ASP.NET Runtime error:" and warnings under all ASP.NET controls for both C# and vb.net that says the controls haven't been declared. Websites run locally without issue, but intellisense is gone and my server-side code is being treated as a text file by the editor which is a pain for coding. I'm using .NET framework (I know it's old, but it's for work). I've installed all the targeting packs for it from 4.0 onwards which VS 2019 took with it. I've also restarted the computer and tried repairing visual studio. I'm not sure what else to try. Does anyone have any ideas?
Solution 1:[1]
I reinstalled Visual Studio 2019, and that some how fixed the problem.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Stephina Pascho |
