NuGet Package missing on this computer issue

Open__ 0 Reputation points
2025-10-24T08:55:16.1966667+00:00

Hi,

I am getting this error after building my solution.

This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is packages\Microsoft.Web.WebView2.1.0.2365.46\build\Microsoft.Web.WebView2.targets.

However i have the Microsoft.Web.WebView2 installed.2025-10-24_16h50_17

In my package folder:

User's image

I tried Restore NuGet Packages and reinstalling the package it is still having the same error.

Anyone had this issue?

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

1 answer

Sort by: Most helpful
  1. Gidado Mukhtar Balangoggo 0 Reputation points
    2025-10-25T11:02:35.7733333+00:00

    In Visual Studio, Go to the "Tools" menu, select "NuGet Package Manager," and then "Manage NuGet Packages for Solution." From there, they can restore the missing packages.

    Using the command line: Navigate to the project directory and run the command 'dotnet restore' or 'nuget restore'.


Your answer

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