Home > Net >  [for] cannot be embedded in the assembly, the corresponding "embedded interop types" attri
[for] cannot be embedded in the assembly, the corresponding "embedded interop types" attri

Time:09-25

[align=left] such as topic, on the other computer to write the code, change a computer to write, meet
Cannot be embedded in the assembly: g, Visual studio, Visual studio Tools for Office \ PIA \ 13th \ Microsoft Office. Interop. Excel. DLL "and" c: \ Users \ dell \ Desktop \ new balance software 1.20 \ obj \ Debug \ Interop. Microsoft. Office. Interop. Excel. DLL "interoperability type also found in the" Microsoft. Office. Interop. Excel. OLEObjectEvents_LostFocusEventHandler ", please consider "embedded Interop types" attribute is set to false,

I have Microsoft Office. Interop. Excel embedded Interop types "attribute is set to false, but still an error, don't know is what reason, also hope the great god directions,
" [/align]

CodePudding user response:

Deleted references to add the following

CodePudding user response:

To use the original code, reshipment system or in a computer compilation released, met
Cannot be embedded in the program cannot be embedded in the assembly "c: \ Windows \ assembly \ GAC_MSIL \ Microsoft Office. Interop. Word \ 14.0.0.0 __71e9bce111e9429c \ Microsoft Office. Interop. Word. DLL" and "c:\Windows\Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET Files \ root \ dc83d16f \ a6c6d715 \ assembly \ 4 c99fe70 dl3 \ \ d8068eba_41b5d501 \ Interop. Microsoft. Office. Interop. Word. DLL" found in the interoperability of type ". Microsoft. Office. Interop. Word ApplicationEvents3_MailMergeAfterRecordMergeEventHandler ", please consider "embedded Interop types" attribute is set to false,
. I have Microsoft Office. Interop. Word embedded Interop types "attribute is set to false, but still error, to add the reference also not line, solving!!

CodePudding user response:

Reinstall the an is still the following tips
Cannot be embedded in the assembly "c:\Windows\Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET Files \ root \ dc83d16f \ a6c6d715 \ assembly \ dl3\6 0063 f210_7697d001 dadd44e \ \ Microsoft Office. Interop. Word. DLL" and "c:\Windows\Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET Files \ root \ dc83d16f \ a6c6d715 \ assembly \ 4 c99fe70 dl3 \ \ d8068eba_41b5d501 \ Interop. Microsoft. Office. Interop. Word. DLL" found in the interoperability of type ". Microsoft. Office. Interop. Word WdRevisionsBalloonPrintOrientation ", please consider "embedded Interop types" attribute is set to false,
  •  Tags:  
  • C#
  • Related