The type 'Microso…
2017-08-05 17:43
323 查看
constructors defined
Interop type 'Microsoft.Office.Interop.Excel.ApplicationClass'
cannot be embedded. Use the applicable interface instead.
---Solution---
Disable embedding of
Interop types for this assembly (References ->
Microsoft.Office.Interop.Outlook (right click) -> Properties
-> Set 'Embed Interop Types' to False)
More info on the why can
be found here: http://blogs.msdn.com/b/mshneer/archive/2009/12/07/interop-type-xxx-cannot-be-embedded-use-the-applicable-interface-instead.aspx
相关文章推荐
- The 'master'&nbsp…
- TypeError: 'module&#03…
- can't lanch the Modelsim-Altera …
- The type List is not generic
- java EE错误,the type&…
- 404-The requested reso…
- 世界末日 This is the End (2013)
- 《经济学人 2013》(The …
- undefined reference to 'pthread_…
- The value given f…
- linux上的mysql报Table 'xxx'…
- Retrieving the COM&nbs…
- Description Resource Path Location Type The superclass "javax.servlet.http.HttpServlet" was not foun
- HDOJ 1004 Let the Balloon Rise
- SVN在update时报com' is…
- The Python Tutorial  6. Modules …
- cygwin :bash: $'…
- 冲销物料凭证:'MBST' VS 'MBRL'
- "The method width(int) is undefined for the type SmoothProgressDrawable.Builder"
- The content of element type "context" must match "(property*,plugin*,commentGenerator?