Files from obj/Debug/net6.0 are being in deleted Blazor project

Priscila Fernanda Molina Reza 25 Reputation points
2023-07-05T20:23:14.8533333+00:00

This issue has happened several times, I'm working on a Blazor project and suddenly it can't compile because the Client.dll file can't be found.

imagen_2023-07-05_141937058

Usually the specified route contains thisUser's image

But in my project this folder is empty, the DLL file is gone and all I did was adding a .razor file. I'm using Mudblazor, but i doubt it has anything to do.

Any hint on why is this happening? Or if there is any way of recovering my files?

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Developer technologies | Visual Studio | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Priscila Fernanda Molina Reza 25 Reputation points
    2023-07-06T16:35:39.5+00:00

    Problem is caused by the local NuGet packages cache, not sure why.

    But cleaning it solved the issue.

    dotnet nuget locals all --clear

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.