Saturday, August 31, 2013

Type or namespace could not be found - missing directive /assembly reference?

What .NET framework is the example code of that book of yours expecting and does it comply with your coding environment. Check also, if your program is expecting a 32-bit assembly, whereas you've loaded the 64-bit version?


Usually, if a using directive is missing a reference that directive should be underscored by Intellisense with a curled red line. I guess you didn't see such a highlighting in your code?


wizend


No comments:

Post a Comment