![](/img/trans.png)
[英]the process cannot access the file because it is being used by another process?
[英]Could not load file or assembly '' or one of its dependencies. The process cannot access the file because it is being used by another process
我剛買了一台新的開發機器,並且已經采用了我們正在研究的項目的源代碼的最新版本,但是當我嘗試調試它時,我收到以下錯誤:
Could not load file or assembly 'Business' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
“Business”是解決方案中的類庫項目,因此不能加載此程序集是不尋常的。
今天早上我花了相當多的時間仔細檢查兩個項目中的程序集引用是否針對相同的版本。
新機器安裝了Panda Anvirus Free版本。 雖然沒有報告錯誤,但它干擾了調試會話。 一旦它被禁用,應用程序就開始工作了。
一旦Panda AV被卸載,問題就不復存在了。 希望這可以幫助遇到同樣問題的其他人!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.