How to Install Dependencies On a .NET App

This Microsoft .NET blog post will show you how to install software dependencies on a .NET application.

Dotnet dependencies are software packages that allow us to connect and expand our application capabilities with external sources, such as Microsoft Graph.

Install Dependencies

The recommended method of installing dependencies is using the Dotnet CLI. To install a dependency, we run the following command from the root folder of a Dotnet project:

dotnet add package Azure.Identity

To view an application’s dependencies, click on the .cspoj file inside the project directory.

The dependencies will show up under the <itemGroup> tag.

    <PackageReference Include="Azure.Identity" Version="1.10.4" />

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.