Thanks a Lot. The problem was solved for VS when i added a reference as you said.
But as i said earlier that if i manually used command line for compiling the source file and then placing the dll in the bin folder of my web app, i can easily use the classes. The problem comes when i build the project in VS and then copy that dll.
Actually if i have
vbc /t:library MyTestClass.vb
it works. But even in this sometimes its gives an error in many imports and cannot import those namespaces.
Like a vb file containing something like
Imports System.Xml
gives an error when compiled via the above command line directive. I tried adding a reference to those dll but failed to do so.
But thanks a great deal. You did solve a big problem.