“Cannot embed interop types from assembly 'vjslib.dll' because it is missing either the 'ImportedFromTypeLibAttribute' attribute or the 'PrimaryInteropAssemblyAttribute' attribute”
下麵的方法或許管用: "Right click on the project in the solution explorer window in order to bring up the context menu. This will give a number of options, but you want the final option, which you can see from the attached "PropertiesSolutionExplorer" image. Then, it will probably open to the last tab you used, but make sure you are on "Application" tab which is visible at the top of the tabs that are on the left side of the dialog. Right click on the drop-down arrow for the "Target framework:" and choose .Net Framework 4.0, not .Net Framework 4.0 Client (which is the default). Anyway, hopefully this post will make more sense." (Check the link)