简体   繁体   中英

“The type or namespace name does not exist in the namespace” while building

I'm getting the error "The type or namespace name does not exist in the namespace" in one of our test projects lately.

Things I have already verified:

  • Spelling: Everything is spelled correctly. Inside the files there is no error and I can navigate to the Methods via Ctrl+F12 normally
  • Target Framework: The target framework of every project is set to .NET Framework 4. So no mismatches between the project and the referenced project
  • Project Reference: I double checked if the project reference was added and even deleted and readded it

Is there anything else I can check? Has anyone of you encountered the same problem and was able to solve it?

Thanks in advance

PS: I'm using VS2013 and ReSharper

I just found the problem. The referenced project (client) had a new reference to Bcl... Apperently every project that references the client needs to reference Bcl too now.

Thanks for all your help!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM