# Adding NuGet Packages to your App

## Content



ComponentOne control references are available through NuGet, a Visual Studio extension that automatically adds libraries and references to your project. All ComponentOne WPF packages contain the prefix “C1.” but some differences exist between .NET Framework and .NET Core package names.

*   C1.WPF.\*: packages for .NET 6+
    
*   C1.Xaml.WPF.\*: packages for .NET Framework
    

NuGet packages for ComponentOne WPF Edition can be installed from [https://www.nuget.org/](https://www.nuget.org/) or locally from C:\\Program Files (x86)\\ComponentOne\\Packages. This “ComponentOne Local” package source is configured in Visual Studio on installing WPF Edition.

### How to Configure the NuGet Package Source

ComponentOne NuGet packages are installed to C:\\Program Files (x86)\\ComponentOne\\Packages. Referencing these packages will ensure that the packages are not updated beyond your subscription. This local package source is configured in Visual Studio upon installing any ComponentOne Edition. Otherwise, you need to manually add this NuGet source URL to Package Sources in Visual Studio.

Complete the following steps to manually add a local NuGet package source in Visual Studio.

1.  From the Tools menu, select **NuGet Package Manager | Package Manager Settings**. The **Options** dialog box appears.
    
2.  In the left pane, select **Package Sources**.
    
3.  Click the button in the top right corner. A new source is added under Available Package Sources.
    
4.  Set a **Name** of the new package source to “ComponentOne Local” and the **Source** as C:\\Program Files (x86)\\ComponentOne\\Packages.
    
    ![NuGet Options](https://cdn.mescius.io/document-site-files/images/de6bd900-fc60-46ca-ad9b-dbc4f177a74f/images/local-nuget.png)