googleads / google-ads-dotnet

This project hosts the .NET client library for the Google Ads API.

Home Page:https://developers.google.com/google-ads/api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Method not found: 'System.AppDomainSetup System.AppDomain.get_SetupInformation()'at Google.Ads.Gax.Util.ConfigUtilities.GetAppConfigPath()

amithashenoy opened this issue · comments

HI,

Method not found: 'System.AppDomainSetup System.AppDomain.get_SetupInformation()'. at
Google.Ads.Gax.Util.ConfigUtilities.GetAppConfigPath()

Getting this eror while creating
var client = new GoogleAdsClient(); instance
using Google.Ads.GoogleAds 14.2.0 version nuget package. Any idea why m getting this error,

M using .net core 2.1 in project

i really appreciate your help

Thanks & Regards,
Amitha,

@AnashOommen : i am having above issue any idea, which version of package m supposed to use .

Hi Amitha,

You need to increase your runtime requirement. The library won't work with .NET Core 2.1.

You need one of the following runtimes, or higher.

  • .NET 5.0
  • .NET Standard 2.1
  • .NET Framework 4.7.2