0
我寫了一個程序,與Exchange郵箱工作,它似乎工作正常, 但如果我複製.exe文件從調試文件夾到另一臺PC並運行.EXE我得到那朵例外交換Web服務程序工作在開發站但不在另一
Unhandled Exception: System.IO.FileNotFoundException: COuld not load file or assembly 'Microsoft.Exchange.WebServices, Version=15' ... or one of its dependencies. The system cannot find the file specified
我安裝EWS託管API,並在項目開發機器上添加引用Microsoft.Exchange.Webservices它工作正常。但是當我在另一臺PC上運行它時,會拋出參考錯誤。我是否必須將EWS Management API安裝到生產計算機上,或者只需要進行開發,我該如何解決這個錯誤?謝謝