I have been creating a project in blazor for some time (visual studio 2019, version 16.11.2) and at the end I started getting an error related to a context that does not exist, but the functions work by themselves and the program compiles. Due to this error, method hints are not displayed. I guess it's caused by something from visual studio or IntelliSense, but I don't know what exactly. errors here
Asked
Active
Viewed 1,124 times
0
-
1I think we need more proof. According to the error messages, I'd say the program does not compile and you're running a build from an earlier time. Use "[clean solution](https://stackoverflow.com/a/3095935/480982)" and possibly delete the `bin` folder to make sure the executable is really gone. Then build again and see if the exe exists. – Thomas Weller Sep 10 '21 at 07:48
-
If it's an Intellisense problem (that does happen) you can just restart VS. But they look like real errors. – H H Sep 10 '21 at 07:50
-
1Try this - close VS, delete the `bin`,`obj` and `.vs` folders - restart VS – Mister Magoo Sep 10 '21 at 07:50
-
Removing the bin, obj, .vs folders helped, thanks for the help. – Daniel2001k Sep 10 '21 at 08:08
-
Please provide enough code so others can better understand or reproduce the problem. – Community Sep 16 '21 at 08:41