How to install the MAUI custom NuGet in the Windows machine?
This section explains how to install the custom NuGet on a Windows machine.
Step 1: Open the project in Visual Studio, then uninstall the already-installed Syncfusion NuGet packages from the project. For example, if got the Syncfusion patch NuGet package with the name Syncfusion.Maui.Core, uninstall
this NuGet package from the project.
Step 2: After that, close the application.
Step 3: Then, remove already-installed Syncfusion NuGet packages in the NuGet cache for the specified version from the local machine.
C:\Users\{User Name}\.nuget\packages
For example, if got the Syncfusion patch NuGet package with version 23.2.7, remove the 23.2.7 folder.
C:\Users\{User Name}\.nuget\packages\syncfusion.maui.core\23.2.7
Step 4: Download the patch NuGet packages that are shared through the support and place it on any location on the Windows machine
Step 5: Open your application in Visual Studio. Click the project on the sample and select the Manage NuGet Packages.
Step 6: After that, click the settings
icon to configure the new NuGet package source.
Step 7 Then, click on the Add
icon.
Step 8: Enter a friendly name and choose the patch NuGet Packages downloaded location using the browse button. Finally, click on Update
and then the OK
button.
Step 9: Select the newly added package source in NuGet Package Manager, as shown in the following screenshot.
Step 10: The packages are listed that are present in the selected NuGet package source; choose the required NuGet package, and then click the Install
button.
Step 11: The package will be installed in the application, as shown in the following screenshot.
Note
To apply the Syncfusion.Maui.Core patch, uninstall all Syncfusion NuGet packages from the application and shut down the application. Subsequently, clear the NuGet cache specifically for Syncfusion.Maui.Core, as all Syncfusion Maui NuGet packages rely on it.