Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

NuGet packages suddenly disappeared in my .NET MAUI project

$
0
0

I am using Visual Studio Community 2022. I have three .NET MAUI projects in this solution, all of which were working as expected with the required NuGet packages showing up in NuGet Package Manager.

Suddenly, I started to get errors that assemblies were missing (CommunityToolkit.Maui, CommunityToolit.Mvvm, etc.). Upon checking "Manage NuGet Packages", they were all gone.

  • I have verified that in the project.csproj all of the Package References are there.
  • I have verified the proper environment variables.
  • The other projects still work.
  • I have this project on a separate, older computer and it works. I have compared every aspect of the two that I could think of and cannot find a cause for this behaviour.
  • I cannot install the needed NuGet packages to this project.
  • I cannot restore NuGet packages in the PM console.
  • I have restarted the computer.
  • I have repaired Visual Studio.
  • I have deleted the obj/bin folders.
  • I expected to have the NuGet packages available to my project and for my project work work as it was previously.

Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>