zoukankan      html  css  js  c++  java
  • ‘Microsoft.Office.Interop.Excel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’

    Solutions:

    Select the 'Microsoft.Office.Interop.Excel' reference -> right click -> properties -> set 'Embel Interop Types' to False -> set 'Copy Local' to True.

    In my project. I just copy the 'Microsoft.Office.Interop.Excel.dll' to my local libraries.

    The "'office, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies" exception was caught when I run my App.

    Solutions:

    Copy the 'Office.dll' to libraries again. and then 

    Select the 'Office' reference -> right click -> properties -> set 'Embel Interop Types' to False -> set 'Copy Local' to True.

    Done.

    If you want more info please click the URL as below:

    http://cbtr.net/red8rain/2012/04/19/csharp-could-not-load-file-or-assembly/#more-1091

  • 相关阅读:
    hdu3874
    spoj D-query
    hdu4348
    hdu4417
    hdu2665
    [LUOGU] P1057 传球游戏
    [CODEVS] 2193 数字三角形WW
    [CODEVS] 2189 数字三角形W
    [模板] 线段树
    [模板] 树状数组
  • 原文地址:https://www.cnblogs.com/vincentDr/p/2869679.html
Copyright © 2011-2022 走看看