I have been struggling with my problem for several days. It seems like a very small problem. Compile a good engine system on someone else's machine. Here I am not able to compile it, and even report an error during the cleaning process. The error message is as follows:
The error message displayed in English vs is:
Error 12 the command "esriregasm.exe" C: \ Users \ Chen. CYY-PC \ Desktop \ code_0805 \ dll \ basw.ls \ bin \ debug \ basw.ls. DLL "/P: desktop/u/s" exited with code-1. c: \ Users \ Chen. CYY-PC \ Desktop \ code_0805 \ dll \ basw.ls. csproj 212 5 basw.ls
The error message in Chinese vs is:
The error is caused by Windows 7 x64 + vs2010 + ArcGIS Engine 10.1. I don't know if there are any other ArcGIS versions or operating system environments.
No matter whether I delete the licenses. licx file in the project, compile the project into x86, or set "Interoperability mode" = false for all referenced ArcGIS DLL files. Finally, I tried to manually delete the "bin" directory with the error reported in windows. vs compilation was finally released.
The odd question is that Google cannot find the answer, but it can only be done by itself, but it is better to solve it. There will be a reference in the future.