System.IO.IOException:进程无法访问文件****,因为它正由另一个进程使用。 [英] System.IO.IOException : The process can not access the file **** because it is being used by another process.

查看:799
本文介绍了System.IO.IOException:进程无法访问文件****,因为它正由另一个进程使用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我开发了一个Powerpoint Addin。当我想在演示文稿pptx文件中添加文件时,我得到一个例外

Hi,

I have developed a Powerpoint Addin. when i want to add file in the presentation pptx file, I get an exception at

Package package = Package.Open(packagePath, FileMode.Create)

System.IO.IOException:进程无法访问文件****,因为它被另一个进程使用。任何人都可以帮我解决这个问题吗?



非常感谢你。



祝你好运。

System.IO.IOException : The process can not access the file **** because it is being used by another process.Any one can help me how to solve this ?

Thank you so much.

Best regards.

推荐答案

查看我之前的回答 - 该过程无法访问文件'\ \ server \ share因为它正在被另一个进程使用。 [ ^ ]。
See my previous answer - The process cannot access the file '\\server\share' because it is being used by another process.[^].


这篇关于System.IO.IOException:进程无法访问文件****,因为它正由另一个进程使用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆