The usual cause of this kind of an error is that the compiler (Visual Studio) isn't doing everything it's supposed to. To fix the problem open the "bin" directory and empty it. Get rid of everything in there. Then go to Build and rebuild the entire solution. You might also try to do a clean before building. This should take care of the first problem you posted and may also take care of the second one.
Anytime you get errors about missing .dll's especially ones that are part of your project and should be being created every time you do a Build, Rebuild, or just run Debug, the problem is usually that VS is having a problem and isn't doing things the right way. In some extreme cases I have had to shut down VS and bring it all up again. Then when I run it, it all works.
Hope this helps.
Quote:
Originally Posted by chesternasho
Hi,
I am stuck at chapter 4 with the interface....am using Visual Studio development sever instead of IIS as a testing server....are there any issues I should take note if I use this method?
When I build i get the following errors:
1. Metadata file .....\\xxxxBLL\bin\Debug\xxxxBLL.dll' could not be found xxxxUI (xxxxUI\xxxxxUI)
2.The type 'x.xxxDAL.ENTMenuItem' cannot be used as type parameter 'T' in the generic type or method 'x.xxxDAL.Framework.ENTBaseData<T>'. There is no implicit reference conversion from 'x.xxxDAL.ENTMenuItem' to 'x.xxxrDAL.Framework.IENTBaseEntity'.
thanks
|