Share via

Issue to handle PDF

Jonathan 270 Reputation points
2026-06-25T07:50:48.12+00:00

Hi,

Can you help to the issue below?

No match was found for the specified search criteria and package name 'MauiNativePdfView'. Try Get-PackageSource to see all available registered package sources.

User's image

Developer technologies | .NET | .NET Multi-platform App UI

2 answers

Sort by: Most helpful
  1. Nancy Vo (WICLOUD CORPORATION) 6,510 Reputation points Microsoft External Staff Moderator
    2026-06-25T10:26:23.6566667+00:00

    Hello @Jonathan ,

    Thanks for your question.

    The error message you are seeing occurs because the terminal is attempting to use the standard Windows PowerShell package manager (Install-Package) instead of the specific .NET tool required for your MAUI project.

    You can refer to these following steps:

    1. Using the .NET CLI In your terminal, ensure you are in your project folder (C:\dp13\Project\Android Dev\MauiAppViewPDFFile) and run this exact command: dotnet add package MauiNativePdfView
    2. Using Visual Studio
    • Open your project in Visual Studio.
    • Right-click on the Dependencies folder in the Solution Explorer.
    • Select Manage NuGet Packages...
    • Under the Browse tab, search for MauiNativePdfView, and click Install.

    Note: If the tool still cannot find the package, please double-check the exact spelling of the package on nuget.org. Sometimes community packages use different prefixes (for example, Plugin.Maui.PdfViewer).

    I hope this addresses your question. If this response was helpful, please consider following the guidance to provide feedback.

    Was this answer helpful?


  2. Senthil kumar 960 Reputation points
    2026-06-25T08:09:34.66+00:00

    Hi @Jonathan

    If you using VS below command will work.

    Visual Studio → Tools → NuGet Package Manager → Package Manager Console

    Install-Package Eightbot.MauiNativePdfView -Version 1.0.8

    Thanks.

    Was this answer helpful?


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.