Articles in this section
Category / Section

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 and remove any previously installed Syncfusion® NuGet packages. For instance, if your project includes a Syncfusion® patch NuGet package such as Syncfusion.Maui.Core, make sure to uninstall it from the project.

devenv_Xd2dyDnjqf.png

Step 2: After that, close the application.

Step 3: Next, delete the previously installed Syncfusion® NuGet packages for the specified version from the local NuGet cache on your machine.

C:\Users\{User Name}\.nuget\packages

For example, if you 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 provided through support and save them to a preferred location on your 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, then use the Browse button to select the location where the patch NuGet packages were downloaded. Finally, click Update, and then click OK to apply the changes.

devenv_Mf6TLpKUD5.png

Step 9: In the NuGet Package Manager, select the newly added package source from the drop-down list, as shown in the screenshot below.

devenv_S4WFvftEth.png

Step 10: The NuGet packages available in the selected package source will be listed. Select the desired package, then click the Install button to proceed.

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)
Access denied
Access denied