本文介绍了无法加载文件或程序集 - Microsoft.Exchange.WebServices的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Microsoft Exchange Web服务托管API 1.0。

I am trying to use the Microsoft Exchange Web Services Managed API 1.0.

我创建了一个在调试模式下运行良好的C#控制台应用程序 - 但是当我尝试从命令行运行已编译的exe我得到以下错误。

I created a C# console application which runs fine in debug mode -- but when I try to run the compiled exe from the command line I get the following error.

有人可以告诉我该怎么做吗?

Can anyone tell me what to do?

未处理的异常: System.IO.FileNotFoundException:无法加载文件或程序集'Microsoft.Exchange.WebServices,Version = 14.0.0.0,Culture = neutral,Public

KeyToken = 31bf3856ad364e35'或其依赖项之一。系统找不到指定的文件。

文件名:'Microsoft.Exchange.WebServices,Version = 14.0.0.0,Culture = neutral,P

ublicKeyToken = 31bf3856ad364e35'

  在Exchange_Move.Program.Main(String [] args)

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Exchange.WebServices, Version=14.0.0.0, Culture=neutral, Public
KeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Exchange.WebServices, Version=14.0.0.0, Culture=neutral, P
ublicKeyToken=31bf3856ad364e35'
   at Exchange_Move.Program.Main(String[] args)

 

推荐答案


这篇关于无法加载文件或程序集 - Microsoft.Exchange.WebServices的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-28 07:29
查看更多