You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Microsoft Graph Beta .NET Client Library 0.x targets .NetStandard 1.1 and .Net Framework 4.5.
The Microsoft Graph Beta .NET Client Library 4.x targets .NetStandard 2.0 and .Net Framework 4.6.2.
The Microsoft Graph Beta .NET Client Library 5.x targets .NetStandard 2.0
Installation via NuGet
To install the client library via NuGet:
Search for Microsoft.Graph.Beta in the NuGet Library, or
Type Install-Package Microsoft.Graph.Beta -PreRelease into the Package Manager Console.
Using the beta client along with the v1.0 library
The Beta library is generated with the Microsoft.Graph.Beta namespace. This means that it can be used alongside the V1 package by using the Microsoft.Graph namespace while using the Microsoft.Graph.Beta namespace from the beta library.
Getting started
Please see msgraph-sdk-dotnet for information on getting started with this library.
Notes
Upgrading to v4
Between 0.x and 4.x there were some major breaking changes:
.NET Standard minimum version bumped from netStandard1.3 to netstandard2.0
.NET Framework minimum version bumped from net45 to net462
Replacing Newtonsoft.Json with System.Text.Json
Upgrading Microsoft.Graph.Core dependency to version 2.0.0
If you are looking to build the library locally for the purposes of contributing code or running tests, you will need to:
Have the .NET Core SDK (> 1.0) installed
Run dotnet restore from the command line in your package directory
Run nuget restore and msbuild from CLI or run Build from Visual Studio to restore Nuget packages and build the project
Due to long file names you may need to run git config --system core.longpaths true before cloning the repo to your system.
License
Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT license. See Third Party Notices for information on the packages referenced via NuGet.
About
The Microsoft Graph Client Beta Library for .NET supports the Microsoft Graph /beta endpoint. (preview)