- .NET Framework 4 and 4.5
- Windows Store apps
- Windows Phone 8 and 8.1
- Portable Class Libraries
If you are using Microsoft Visual Studio, please make sure that you have the targeting .NET platforms including .NET Framework 4 and .NET Framework 4.5.
Please follow the below steps for opening and setting up the C# client library properly in Microsoft Visual Studio:
Extract the client library files and double-click on the Google.Apis.Mybusiness.v3.csproj file to open the client library project in Microsoft Visual Studio.
In Solution Explorer, right-click the client library project and select “Manage NuGet Packages for Solution...”. Restore all the required NuGet packages when prompted. Right-click the solution, under “Install packages -> All”, check that you have installed the required packages including Google APIs Client Library, Google APIs Core Client Library, etc.
Add a new project to the solution and set it as the StartUp Project since the library project can’t be started directly.
Add the Google.Apis.Mybusiness.v3 library project as a reference to the new project in the Reference Manager.
For installing a compatible version of the required package Google APIs Auth Client Library, go to Tools / NuGet Package Manager / Package Manager Console and execute the following command: Install-Package Google.Apis.Auth -Version 1.10.0
Please refer to the Samples of using the Google APIs Client Library for .NET for help when implementing the OAuth 2.0 authorization.