dotnet还原任务突然失败(进程无法访问该文件) [英] dotnet restore task suddenly started failing (The process cannot access the file)

查看:109
本文介绍了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'因为它被另一个进程使用。

解决方案

嗨saumya verma,


欢迎来到MSDN论坛。


让我们确认一些详细信息以便更好地诊断:



  • 您的环境和项目类型是什么?
  • 你什么时候遇到错误?可以分享一些步骤吗?

如果可能的话,你可以查看
这个主题,以确定它们是否相同由于我们的论坛主要关注.NET Framework设置和服务问题。我会帮助您在响应后立即重定向适当的论坛。


感谢您的理解。


Br



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.

解决方案

Hi saumya verma,

Welcome to the MSDN forum.

Let’s confirm some detail info for a better diagnosing:

  • What’s your environment and project type?
  • When did you do meet the error? Have some steps could be shared?

If possible, you could check this thread to be sure if they are same. Since our forum mainly focus on .NET Framework Setup and Servicing issue. I will help you redirect an appropriate forum as soon as your response.

Thank you for your understanding.

Br

May


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

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