编译时出错:无法加载文件或程序集&Office;版本= 14.0.0.0

时间:2014-04-02 16:29:13

标签: c# asp.net vb.net visual-studio-2010

使用VS2010。当我编译我的.NET项目时,我得到了这个错误......

Reference.svcmap: Could not load file or assembly 'office, Version=14.0.0.0, 
Culture=neutral, PublicKeyToken=XXXXXXX' or one of its dependencies. 
The system cannot find the file specified.

我是否必须安装Office版本才能将其删除?我在web.config中注释掉了以下行,但错误一直出现!

 <!--<add assembly="office, Version=14.0.0.0, Culture=neutral,
      PublicKeyToken=XXXXXXX"/>
 <add assembly="Microsoft.Vbe.Interop, Version=14.0.0.0, Culture=neutral,
      PublicKeyToken=XXXXXXXXX"/>-->

提前谢谢!

0 个答案:

没有答案