Basic skills (15) -------- the dll file has been referenced, but using cannot find the namespace. -------- dllusing
I. Problems
Ii. Solution
1. the lz Code does not contain the dll of Vancl. Server.
2. The compilation problem exists. It is because the target framework of the Project Vancl. WindowsServices is set to. Net Framework 4 Client Profile and changed to. Net Framework 4 to solve most compilation problems.
3. The IServer interface in IServer. cs should be declared as public, otherwise there will be compilation problems.
After the web reference is updated, the system prompts "error 1 cannot find the type or namespace name 'documentservicewse' (whether the using command or program is missing
Find the namespace where DocumentServiceWse is located and compile it separately. After the compilation is successful, rereference it (the dll of the binfile). Then, check whether useing in the class needs to be rewritten, if the namespace is not changed, you do not need to modify it.
The type or namespace name cannot be found (whether the using command or assembly reference is missing)
First, find the class library where the class is located, then USING the name of the class library where the class is to be called, and add a reference to the class library where the class is to be called.