Install Aspose Cells through NuGet
Install Aspose.Cells for .NET through NuGet
NuGet is the easiest way to download and install Aspose APIs for .NET. Open Microsoft Visual Studio and NuGet package manager. Search “aspose” to find the desired Aspose API. Click on “Install”, the selected API will be downloaded and referenced in your project.
Note: You can visit nuget web page for aspose.cells for more information: Aspose.Cells for .NET NuGet Package
Install Aspose.Cells using Package Manager GUI
Follow these steps to reference the Aspose.Cells component using package manager GUI:
- Open your solution/project in Visual Studio.
- Click Tools -> Library Package Manager -> Manage NuGet Packages from Solution. You can also easily access the same option by through the Solution Explorer. Right-click the solution or project and select Manage NuGet Packages from context menu.
- Select Online from the left hand menu and type “Aspose.Cells” in the search text box to find the Aspose.Cells .NET package.
- Click the Install button next to the Aspose.Cells for .NET entry to install the latest version into your project.
Install Aspose.Cells using the Package Manager Console
You can follow the steps below to reference the Aspose.Cells component using the package manager console:
- Open your solution/project in Visual Studio.
- Select Tools -> Library Package Manager -> Package Manager Console from the menu to open package manager console.
- Type the command “Install-Package Aspose.Cells” and press enter to install latest full release into your application. Alternatively you can add the “-prerelease” suffix to the command in order to specify that the latest release including hot fixes is to be installed as well.
- You will see that the “Downloading Aspose.Cells…” tip appears down the bottom left of the window indicating that the download is process.
- Once downloaded you will see the following confirmation messages. If you are not familiar with the Aspose EULA then it is a good idea to read the license referenced in the URL.
- You should now find that Aspose.Cells has successfully been added and referenced in your application for you.
Referencing Aspose.Cells from a .NET Project
In order to use Aspose.Cells in an application, add a reference to it. To add a reference using Visual Studio:
- In the Solution Explorer, expand the project node you want to add a reference to.
- Right-click the References node for the project and select Add Reference from the menu.
- In the Add Reference dialog box, select the .NET tab (selected by default). If you installed using the MSI installer, Aspose.Cells will appear in the top pane.
- Select it and click Select.
If you have downloaded or unpacked the DLL only:
- Locate the Aspose.Cells.dll file using the Browse button. Aspose.Cells should appear in the Selected Components pane of the dialog box.
- Click OK. The Aspose.Cells reference appear under the References node of the project.
Referencing the component from a VS.NET 2010 Client Profile project
If your project’s Target framework is .NET Framework 3.5/4 Client Profile, use the Aspose.Cells.dll component file located in the net_ClientProfile folder of your installation directory. For example:
- In Solution Explorer of VS.NET 2010 for your project, right-click References and select Add Reference.
- Select the Browse tab in the dialog and click Look for dropdown.
- Find and select the Aspose.Cells.dll component file in your installation directory, for example: …/Program Files/Aspose/Aspose.Cells for .NET/Bin/net_ClientProfile/ (Make sure that you installed the product using the MSI installer on your machine.)
- Click OK to close the dialog
Referencing Aspose.Cells Grid Controls from a .NET project
To use a grid control in your application, add a reference to it. To reference a grid control in Visual Studio do the following:
- In Solution Explorer, expand the project node you want to add a reference to.
- Right-click the References node for the project and select Add Reference from the menu.
- In the Add Reference dialog box, select the .NET tab (selected by default). If you have used MSI installer to install Aspose.Cells for .NET, Aspose.Cells.GridDesktop and Aspose.Cells.GridWeb appear in the top pane.
- Select them and click Select.
- The Aspose.Cells.GridDesktop and Aspose.Cells.GridWeb references appears under the References node of the project.
If you downloaded and unpacked the DLL only:
- Locate the Aspose.Cells.GridDesktop.dll and Aspose.Cells.GridWeb.dll files using the Browse button. Aspose.Cells Grid Suite has been referenced and should appear in the Selected Components pane of the dialog box.
- Click OK.
Uninstalling Aspose.Cells for .NET
If you have used MSI installer to deploy Aspose.Cells for .NET, follow these steps to completely remove the component and the controls, the associated demos and documentations:
- From the Start menu, select Settings, followed by Control Panel.
- Click Add/Remove Programs.
- Select Aspose.Cells for .NET (version).
- Click Change/Remove to remove Aspose.Cells.