"Cocould not load file or assembly 'Microsoft. Office. Interop. Word, Version = 11.0.0.0, Culture = neutral, PublicKeyToken = 71e9bce111e9429c' or one of its dependencies ."
"The system cannot find the file or assembly'' Microsoft. office. interop. word, Version = 11.0.0.0, Culture = neutral, PublicKeyToken = 71e9bce111e9429c 'or a certain part." Add reference method:
2. The interoperability type "Microsoft. Office. Interop. Word. ApplicationClass" cannot be embedded ". Use the applicable interface instead.
This solution:
The interoperability type "Microsoft. Office. Interop. Word. ApplicationClass" cannot be embedded ". Use the applicable interface instead.
Type: Microsoft. Office. Interop. Word. ApplicationClass. No constructor is defined.
Solution:
In Visual Studio, click the menu item "view-> Solution Resource Manager", open the "reference" folder, and go to "Microsoft. office. interop. on Word, right-click it and select "attribute". In this case, change the value of "embedded interoperability type" in the attribute to "false.