Google Apis and Unit Tests

0

I am using Google Auto Ml in my project and i am creating DLL and making some unit tests for it. When i am trying to create AutoML client inside my dll, while calling it from my unit test, it thorws me this error:

System.IO.FileLoadException: Could not load file or assembly "Google.Apis.Core, Version=1.45.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab" or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception fro HRESULT: 0x80131040) ---> PublicKeyToken=4b01fa6e34db77ab" or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Исключение из HRESULT: 0x80131040)> System.IO.FileLoadException: Could not load file or assembly "Google.Apis.Core, Version=1.44.1.0, Culture=neutral,PublicKeyToken=4b01fa6e34db77ab" or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception fro HRESULT: 0x80131040)

I've checked nuget settings, checked App.config - there are right version. Tried to recreate projects - error still persists. Anybody can help me with this?

c#
google-cloud-automl
fileloadexception

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0