Link; msh.baidu/www.autun.cn? dbjh
The solution is as follows:
1. Add rebuild to the project reference directory to run the project.
2. If 1 can't solve the problem, you can select the item, click the right mouse button, select Properties, and check whether the reference path on the right is correct under the reference path. If it is not correct, please remove it and add it again. Rebuilding will run the project.
3. If the above two steps still can't solve the problem, then you need to register the assembly.
(1), and enter the CMD command prompt box as an administrator.
(2) Find the VS version of the tool that registers the assembly. If the default installation of Framework2.0 is in this directory: C: \ Windows \ Microsoft. NET \ Framework \ V2.0.50727, find the RegAsm tool.
(3) Enter the path of the tool in the CMD command box, enter the tool name regasm, and press the space to write the dll path of the program.
(4) Reconstruction project.