False Type or namespace does not exist errors in Visual Studio 22
Hello, does anyone have any suggestion or ideas as to why one of my projects in VS22 are generating a bunch of errors stating the type or namespace name does not exists? Going to the location of the errors shows no error in sight on any of the files and everywhere else the namespace or types are used they don't error like in other projects. I've checked to make sure all the projects have the same framework version and I've tried a lot of the suggested remedies from searches... I can't figure it out..
6 Replies
Does the project otherwise build?
No it fails the build and in the build errors I get the same type/namespace errors
Then you'll have to give us more info
Because clearly the errors aren't fake
If I go look at the errors in Build Only they don't go away, but if I look at them with Build + Intellisense, they just disappear
More info as in show your code, the errors you're getting, your csproj file...
Then there is also metadata file x could not be found errors
In the build output the errors are the same