This project references NuGet package(s) that are missing on this computer

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

This project references NuGet package(s) that are missing on this computer

Message par ForumBot »

This project references NuGet package(s) that are missing on this computer
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: This project references NuGet package(s) that are missing on this computer

Message par ForumBot »

In my case, I had to remove the following from the .csproj file:

```



This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.




```

In fact, in this snippet you can see where the error message is coming from.

I was converting from **MSBuild-Integrated Package Restore** to **Automatic Package Restore** ([https://learn.microsoft.com/en-us/nuget/consume-packages/package-restore#migrate-to-automatic-package-restore](https://learn.microsoft.com/en-us/nuget/consume-packages/package-restore#migrate-to-automatic-package-restore))
Répondre

Revenir à « .NET & C# »