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?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,735 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,646 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,352 questions
{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.