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
I am load GetApplicationToken CredentialUtil.Load(path); IList<string> list = new List<string>() { "https://api.ebay.com/oauth/api_scope" }; OAuthResponse oAuthResponse = new OAuth2Api().GetApplicationToken(eBay.ApiClient.Auth.OAuth2.Model.OAuthEnvironment.SANDBOX, list);
but a get next error System.IO.FileLoadException: 'Could not load file or assembly 'RestSharp, Version=106.5.4.0, Culture=neutral, PublicKeyToken=598062e77f915f75'. Could not find or load a specific file. (0x80131621)'
in my csproj i add <PackageReference Include="RestSharp" Version="106.5.4" />
Has anyone ever experienced this? can you help me
The text was updated successfully, but these errors were encountered:
Some older version of nuget packages don't have a publicKeyToken value, if you happen to also depend on a more recent version of the nuget package that does set that value, then you're going to have these FileLoadException because in your build output msbuild will include the more recent version of the .dll and the publicKeyToken value won't match.
FYI: You can see what the publicKeyToken for given .dll is with this powershell command:
I am load GetApplicationToken
CredentialUtil.Load(path);
IList<string> list = new List<string>() { "https://api.ebay.com/oauth/api_scope" };
OAuthResponse oAuthResponse = new OAuth2Api().GetApplicationToken(eBay.ApiClient.Auth.OAuth2.Model.OAuthEnvironment.SANDBOX, list);
but a get next error
System.IO.FileLoadException: 'Could not load file or assembly 'RestSharp, Version=106.5.4.0, Culture=neutral, PublicKeyToken=598062e77f915f75'. Could not find or load a specific file. (0x80131621)'
in my csproj i add
<PackageReference Include="RestSharp" Version="106.5.4" />
Has anyone ever experienced this? can you help me
The text was updated successfully, but these errors were encountered: