Articles in this section
Category / Section

How to install the MAUI custom NuGet in the Windows machine?

2 mins read

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.

devenv_Xd2dyDnjqf.png

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

explorer_IUxVySEOfA.png

Step 4: Download the patch NuGet packages that are shared through the support and place it on any location on the Windows machine

explorer_aZ48K9FzA3.png

Step 5: Open your application in Visual Studio. Click the project on the sample and select the Manage NuGet Packages.

devenv_iMuySZGM6o.png

Step 6: After that, click the settings icon to configure the new NuGet package source.

devenv_NJxhWSe9Rm.png

Step 7 Then, click on the Add icon.

devenv_dDDxfD8nIP.png

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.

devenv_Mf6TLpKUD5.png

Step 9: Select the newly added package source in NuGet Package Manager, as shown in the following screenshot.

devenv_S4WFvftEth.png

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.

devenv_RoYn5GnaQK.png

Step 11: The package will be installed in the application, as shown in the following screenshot.

devenv_JSb8CLo19X.png

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.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied