none
dotnet restore task suddenly started failing (The process cannot access the file) RRS feed

  • Question

  • 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.
    Thursday, January 3, 2019 9:55 AM

All replies

  • 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


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Friday, January 4, 2019 8:55 AM
    Moderator
  • Hi am getting the same issues.

    Upgraded my project from .net core 2 to 2.1 , then the VSTS restore fails.

    Did you find a way around?

    Monday, January 7, 2019 5:56 AM
  • Hi suman_palikhe,

    According the latest reply, I recommend you redirect to the Development community forum and choose the "Azure DevOps" tab and start a new thread with this info and error for a better supporting.

    Thank you for your understanding.

    May


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, January 7, 2019 8:20 AM
    Moderator