C
C#10mo ago
Zeckar

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
Angius
Angius10mo ago
Does the project otherwise build?
Zeckar
ZeckarOP10mo ago
No it fails the build and in the build errors I get the same type/namespace errors
333fred
333fred10mo ago
Then you'll have to give us more info Because clearly the errors aren't fake
Zeckar
ZeckarOP10mo ago
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
333fred
333fred10mo ago
More info as in show your code, the errors you're getting, your csproj file...
Zeckar
ZeckarOP10mo ago
Then there is also metadata file x could not be found errors In the build output the errors are the same
Want results from more Discord servers?
Add your server