Working on a C# project, I recently encountered a puzzling problem that made me go crazy for a couple of hours. After pulling the latest source code from our version control system, the solution won't run anymore, giving plenty of build errors from out of left field.
Here are what the errors were basically saying:
- XXXX.XXXX does not contain a definition for YYYY and no extension method YYYY accepting a first argument of type XXXX.XXXX could be found (are you missing a using directive or an assembly reference?)
- XXXX.XXXX.XXXX does not contain a definition for YYYY
- The type name YYYY does not exist in the type XXXX.XXXX
