本文介绍了dotnet还原任务突然失败(进程无法访问该文件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该进程无法访问文件'C:\Program Files \dotnet \sdk \ NuGetFallbackFolder \ microsoft.aspnetcore.razor.design \2.1.1 \ tools \

Microsoft.AspNetCore.Razor.Language.dll',因为它正被另一个进程使用。)) 

(进程无法访问该文件 

' C:\Program Files \dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.razor.design\2.1.1\tools\Microsoft.AspNetCore.Razor.Language.dll' 

,因为它正由另一个进程使用。) 

---> System.IO.IOException:进程无法访问文件'C:\Program Files \dotnet \sdk \NuGetFallbackFolder \ microsrosoft.aspnetcore.razor.design \2.1.1 \

tools\Microsoft.AspNetCore.Razor.Language.dll'因为它被另一个进程使用。

解决方案

The process cannot access the file 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.razor.design\2.1.1\tools\
Microsoft.AspNetCore.Razor.Language.dll' because it is being used by another process.)) 
(The process cannot access the file 
'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.razor.design\2.1.1\tools\Microsoft.AspNetCore.Razor.Language.dll' 
because it is being used by another process.) 
---> System.IO.IOException: The process cannot access the file 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.razor.design\2.1.1\
tools\Microsoft.AspNetCore.Razor.Language.dll' because it is being used by another process.

解决方案


这篇关于dotnet还原任务突然失败(进程无法访问该文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 23:18