In my case, I meant project A in project X, which is x86. Later we got Project Y, which is called "Any CPU", related to Project A. But nevertheless, x86 was built into Project A, and Project Y needs it in MSIL format. I opened the Project X file with notepad and installed MSIL and it fixed all the problems.
source
share