Articles in this section

How to install the custom patch Syncfusion NuGet in macOS machine

Overview:

This knowledge base article explains how to install and configure a custom (customer patch) NuGet package on a macOS machine using Visual Studio Code (VS Code). This method is commonly used when the NuGet package is provided as a .nupkg file in a local feed. 

The steps below are simple, repeatable, and recommended for .NET projects on macOS. 

 

Step 1: Open the Project in Visual Studio Code 

  1. Launch Visual Studio Code
  1. Click File → Open Folder
  1. Select your .NET project folder and click Open

 

Step 2: Configure the Custom NuGet Source 

  1. Copy the customer patch .nupkg file to a folder, for example: 
  • /Users/<username>/nuget-local
  1. Open Terminal in VS Code (Terminal → New Terminal). 
  2. Add the local NuGet source
  • dotnet nuget add source "C:\Users\<username>\NuGet-Local" --name CustomerPatchLocal

 

Step 3: Verify NuGet Source Configuration 

Run the following command: 

     dotnet nuget list source 

Ensure your custom patch source names as ‘CustomerPatchLocal’ appears in the list. 

 

 

Step 4: Install the Customer Patch NuGet Package 

Navigate to your project directory and run: 

     dotnet add package <Custom.Package.Name> --version X.X.X  --source CustomerPatchLocal 

 

 

Step 5: Restore and Build the Project 

  1. Restore dependencies: 
    1. dotnet restore 
  1. Build the project:
    1. dotnet build 

 

Step 6: Validate Installation 

  • Verify the package entry exists inside the .csproj file. 
  • Ensure there are no restore or build errors. 
  • Confirm expected behavior from the customer patch during runtime. 

 

You have successfully installed and configured a custom patch NuGet package on macOS using Visual Studio Code

 

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