title | author | ms.author | ms.date | ms.topic | ms.assetid |
---|---|---|---|---|---|
Managing References in a Project |
asb3993 |
amburns |
04/14/2017 |
article |
4AD51385-B0A8-4BA7-B2D4-BF2BD167A142 |
Visual Studio for Mac provides three means of adding additional references to your project:
These are:
- References
- NuGets (Added via the Packages folder)
- Components
In addition, Web References and native references can also be added to any project.
Each framework within Xamarin ships with over a dozen assemblies. Not all of these assembly packages are referenced in your project by default.
To edit packages that are referenced in your project, use the Edit References dialog, which can be displayed by double-clicking on the References folder, or by select Edit References on its context menu actions:
For information on the assemblies available for each Xamarin framework, refer to the Available Assemblies guide.
NuGet is the most popular package manager for .NET development. Visual Studio for Mac's NuGet support allows you to search for packages to add to your project.
To do this, right-click on the Package folder in the Solution Pad, and select Add Packages.
More information on using a NuGet Package is provided in the Including a NuGet package in your Project walkthrough.